From 2b272e104d992ce923ae1156823f9b2446845723 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 24 Jun 2008 17:51:09 +0000 Subject: [PATCH] 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 --- src/lib/kdb/kdb_convert.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/kdb/kdb_convert.c b/src/lib/kdb/kdb_convert.c index 61b2b9747..63ddf9f36 100644 --- a/src/lib/kdb/kdb_convert.c +++ b/src/lib/kdb/kdb_convert.c @@ -17,6 +17,7 @@ #include "iprop.h" #include #include +#include /* 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, -- 2.26.2