change write_int16 to write_ui_2
authorJohn Kohl <jtkohl@mit.edu>
Wed, 12 Sep 1990 10:59:32 +0000 (10:59 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 12 Sep 1990 10:59:32 +0000 (10:59 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1125 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/fcc-proto.h
src/lib/krb5/ccache/file/fcc_write.c

index 6ad69a96f541598273b62a27ba1a0adc7d9a2b59..28d309610a176bd40b419cac1b536a65b22a3533 100644 (file)
@@ -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 ));
index 0c7121c429683be829a73216635b5a17d04f285e..c6d4f494135bf7cb98cb07fc4a2caab215cb8d9c 100644 (file)
@@ -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