From a5c6932c7c5c54de164b964d87ae5fab5ac9713b Mon Sep 17 00:00:00 2001 From: Zhanna Tsitkov Date: Tue, 29 Mar 2011 15:10:00 +0000 Subject: [PATCH] Static function names should not have krb5_ prefix git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24751 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/keytab/ktbase.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/lib/krb5/keytab/ktbase.c b/src/lib/krb5/keytab/ktbase.c index 564e11199..6f29579ce 100644 --- a/src/lib/krb5/keytab/ktbase.c +++ b/src/lib/krb5/keytab/ktbase.c @@ -224,15 +224,15 @@ cleanup: /* * Routines to deal with externalizingt krb5_keytab. - * krb5_keytab_size(); - * krb5_keytab_externalize(); - * krb5_keytab_internalize(); + * keytab_size(); + * keytab_externalize(); + * keytab_internalize(); */ -static krb5_error_code krb5_keytab_size +static krb5_error_code keytab_size (krb5_context, krb5_pointer, size_t *); -static krb5_error_code krb5_keytab_externalize +static krb5_error_code keytab_externalize (krb5_context, krb5_pointer, krb5_octet **, size_t *); -static krb5_error_code krb5_keytab_internalize +static krb5_error_code keytab_internalize (krb5_context,krb5_pointer *, krb5_octet **, size_t *); /* @@ -240,13 +240,13 @@ static krb5_error_code krb5_keytab_internalize */ static const krb5_ser_entry krb5_keytab_ser_entry = { KV5M_KEYTAB, /* Type */ - krb5_keytab_size, /* Sizer routine */ - krb5_keytab_externalize, /* Externalize routine */ - krb5_keytab_internalize /* Internalize routine */ + keytab_size, /* Sizer routine */ + keytab_externalize, /* Externalize routine */ + keytab_internalize /* Internalize routine */ }; static krb5_error_code -krb5_keytab_size(krb5_context kcontext, krb5_pointer arg, size_t *sizep) +keytab_size(krb5_context kcontext, krb5_pointer arg, size_t *sizep) { krb5_error_code kret; krb5_keytab keytab; @@ -262,7 +262,8 @@ krb5_keytab_size(krb5_context kcontext, krb5_pointer arg, size_t *sizep) } static krb5_error_code -krb5_keytab_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenremain) +keytab_externalize(krb5_context kcontext, krb5_pointer arg, + krb5_octet **buffer, size_t *lenremain) { krb5_error_code kret; krb5_keytab keytab; @@ -278,7 +279,8 @@ krb5_keytab_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **bu } static krb5_error_code -krb5_keytab_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *lenremain) +keytab_internalize(krb5_context kcontext, krb5_pointer *argp, + krb5_octet **buffer, size_t *lenremain) { krb5_error_code kret; krb5_ser_handle shandle; -- 2.26.2