From 573d627dbe3ea400336ed1d6cb825675484c9b98 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 12 Sep 1990 10:59:32 +0000 Subject: [PATCH] change write_int16 to write_ui_2 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1125 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/file/fcc-proto.h | 2 +- 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 @@ -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 -- 2.26.2