diff options
| author | John Kohl <jtkohl@mit.edu> | 1990-09-12 10:59:32 +0000 |
|---|---|---|
| committer | John Kohl <jtkohl@mit.edu> | 1990-09-12 10:59:32 +0000 |
| commit | 573d627dbe3ea400336ed1d6cb825675484c9b98 (patch) | |
| tree | 3d830700d56a1954e3c0cd8c685ba0e88c0ca27a /src/lib | |
| parent | 37970b0b82d4c6876f001037471ee37e62c3dc02 (diff) | |
| download | krb5-573d627dbe3ea400336ed1d6cb825675484c9b98.tar.gz krb5-573d627dbe3ea400336ed1d6cb825675484c9b98.tar.xz krb5-573d627dbe3ea400336ed1d6cb825675484c9b98.zip | |
change write_int16 to write_ui_2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1125 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/ccache/file/fcc-proto.h | 2 | ||||
| -rw-r--r-- | src/lib/krb5/ccache/file/fcc_write.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/krb5/ccache/file/fcc-proto.h b/src/lib/krb5/ccache/file/fcc-proto.h index 6ad69a96f..28d309610 100644 --- a/src/lib/krb5/ccache/file/fcc-proto.h +++ b/src/lib/krb5/ccache/file/fcc-proto.h @@ -83,7 +83,7 @@ krb5_error_code krb5_fcc_store_principal PROTOTYPE((krb5_ccache id , krb5_princi krb5_error_code krb5_fcc_store_keyblock PROTOTYPE((krb5_ccache id , krb5_keyblock *keyblock )); krb5_error_code krb5_fcc_store_data PROTOTYPE((krb5_ccache id , krb5_data *data )); krb5_error_code krb5_fcc_store_int32 PROTOTYPE((krb5_ccache id , krb5_int32 *i )); -krb5_error_code krb5_fcc_store_int16 PROTOTYPE((krb5_ccache id , krb5_int16 *i )); +krb5_error_code krb5_fcc_store_ui_2 PROTOTYPE((krb5_ccache id , krb5_ui_2 *i )); krb5_error_code krb5_fcc_store_keytype PROTOTYPE((krb5_ccache id , krb5_keytype *k )); krb5_error_code krb5_fcc_store_int PROTOTYPE((krb5_ccache id , int *i )); krb5_error_code krb5_fcc_store_bool PROTOTYPE((krb5_ccache id , krb5_boolean *b )); diff --git a/src/lib/krb5/ccache/file/fcc_write.c b/src/lib/krb5/ccache/file/fcc_write.c index 0c7121c42..c6d4f4941 100644 --- a/src/lib/krb5/ccache/file/fcc_write.c +++ b/src/lib/krb5/ccache/file/fcc_write.c @@ -11,7 +11,7 @@ */ #if !defined(lint) && !defined(SABER) -static char fcc_write_c[] = "$Id$"; +static char rcsid_fcc_write_c[] = "$Id$"; #endif /* !lint && !SABER */ #include <krb5/copyright.h> @@ -134,7 +134,7 @@ krb5_fcc_store_addr(id, addr) { krb5_error_code ret; - ret = krb5_fcc_store_int16(id, &addr->addrtype); + ret = krb5_fcc_store_ui_2(id, &addr->addrtype); CHECK(ret); ret = krb5_fcc_store_int(id, &addr->length); CHECK(ret); @@ -173,11 +173,11 @@ krb5_fcc_store_int32(id, i) } krb5_error_code -krb5_fcc_store_int16(id, i) +krb5_fcc_store_ui_2(id, i) krb5_ccache id; - krb5_int16 *i; + krb5_ui_2 *i; { - return krb5_fcc_write(id, (char *) i, sizeof(krb5_int16)); + return krb5_fcc_write(id, (char *) i, sizeof(krb5_ui_2)); } krb5_error_code |
