diff options
author | Ezra Peisach <epeisach@mit.edu> | 2008-06-24 17:51:09 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2008-06-24 17:51:09 +0000 |
commit | 2b272e104d992ce923ae1156823f9b2446845723 (patch) | |
tree | 8fc45ca89e7ba50042480325ce1af074cac09075 /src/lib/kdb/kdb_convert.c | |
parent | 5661d1290f74312a405db970aea097da77706f71 (diff) | |
download | krb5-2b272e104d992ce923ae1156823f9b2446845723.zip krb5-2b272e104d992ce923ae1156823f9b2446845723.tar.gz krb5-2b272e104d992ce923ae1156823f9b2446845723.tar.bz2 |
Include kdb_log.h for missing prototypes. Declare conv_princ_2db &
conv_princ_2ulog as static as they are not exported or used outside this file.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20466 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kdb/kdb_convert.c')
-rw-r--r-- | src/lib/kdb/kdb_convert.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/kdb/kdb_convert.c b/src/lib/kdb/kdb_convert.c index 61b2b97..63ddf9f 100644 --- a/src/lib/kdb/kdb_convert.c +++ b/src/lib/kdb/kdb_convert.c @@ -17,6 +17,7 @@ #include "iprop.h" #include <k5-int.h> #include <kdb.h> +#include <kdb_log.h> /* BEGIN CSTYLED */ #define ULOG_ENTRY_TYPE(upd, i) ((kdb_incr_update_t *)upd)->kdb_update.kdbe_t_val[i] @@ -160,7 +161,7 @@ data_to_utf8str(utf8str_t *u, krb5_data d) /* * Converts the krb5_principal struct from db2 to ulog format. */ -krb5_error_code +static krb5_error_code conv_princ_2ulog(krb5_principal princ, kdb_incr_update_t *upd, int cnt, princ_type tp) { @@ -240,7 +241,7 @@ replace_with_utf8str(krb5_data *d, utf8str_t u) /* * Converts the krb5_principal struct from ulog to db2 format. */ -krb5_error_code +static krb5_error_code conv_princ_2db(krb5_context context, krb5_principal *dbprinc, kdb_incr_update_t *upd, int cnt, princ_type tp, |