summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-09-12 10:37:53 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-09-12 10:37:53 +0000
commit37970b0b82d4c6876f001037471ee37e62c3dc02 (patch)
treec6dd4c09e085d23f1ffe76ada0a02ee8499215bf /src/lib
parent7ad0c6290b3f89694e99c82ebdd6e3663c1a7b53 (diff)
downloadkrb5-37970b0b82d4c6876f001037471ee37e62c3dc02.tar.gz
krb5-37970b0b82d4c6876f001037471ee37e62c3dc02.tar.xz
krb5-37970b0b82d4c6876f001037471ee37e62c3dc02.zip
change int16 to ui_2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1124 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/ccache/file/fcc-proto.h2
-rw-r--r--src/lib/krb5/ccache/file/fcc_read.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/krb5/ccache/file/fcc-proto.h b/src/lib/krb5/ccache/file/fcc-proto.h
index 2e5d4f134..6ad69a96f 100644
--- a/src/lib/krb5/ccache/file/fcc-proto.h
+++ b/src/lib/krb5/ccache/file/fcc-proto.h
@@ -48,7 +48,7 @@ krb5_error_code krb5_fcc_read_principal PROTOTYPE((krb5_ccache id , krb5_princip
krb5_error_code krb5_fcc_read_keyblock PROTOTYPE((krb5_ccache id , krb5_keyblock *keyblock ));
krb5_error_code krb5_fcc_read_data PROTOTYPE((krb5_ccache id , krb5_data *data ));
krb5_error_code krb5_fcc_read_int32 PROTOTYPE((krb5_ccache id , krb5_int32 *i ));
-krb5_error_code krb5_fcc_read_int16 PROTOTYPE((krb5_ccache id , krb5_int16 *i ));
+krb5_error_code krb5_fcc_read_ui_2 PROTOTYPE((krb5_ccache id , krb5_ui_2 *i ));
krb5_error_code krb5_fcc_read_keytype PROTOTYPE((krb5_ccache id , krb5_keytype *k ));
krb5_error_code krb5_fcc_read_int PROTOTYPE((krb5_ccache id , int *i ));
krb5_error_code krb5_fcc_read_bool PROTOTYPE((krb5_ccache id , krb5_boolean *b ));
diff --git a/src/lib/krb5/ccache/file/fcc_read.c b/src/lib/krb5/ccache/file/fcc_read.c
index f69a36838..33770cd7a 100644
--- a/src/lib/krb5/ccache/file/fcc_read.c
+++ b/src/lib/krb5/ccache/file/fcc_read.c
@@ -229,7 +229,7 @@ krb5_fcc_read_addr(id, addr)
addr->contents = 0;
- kret = krb5_fcc_read_int16(id, &addr->addrtype);
+ kret = krb5_fcc_read_ui_2(id, &addr->addrtype);
CHECK(kret);
kret = krb5_fcc_read_int(id, &addr->length);
@@ -265,11 +265,11 @@ krb5_fcc_read_int32(id, i)
}
krb5_error_code
-krb5_fcc_read_int16(id, i)
+krb5_fcc_read_ui_2(id, i)
krb5_ccache id;
- krb5_int16 *i;
+ krb5_ui_2 *i;
{
- return krb5_fcc_read(id, (krb5_pointer) i, sizeof(krb5_int16));
+ return krb5_fcc_read(id, (krb5_pointer) i, sizeof(krb5_ui_2));
}
krb5_error_code