summaryrefslogtreecommitdiffstats
path: root/src/lib/kdb
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2008-06-24 17:51:09 +0000
committerEzra Peisach <epeisach@mit.edu>2008-06-24 17:51:09 +0000
commit2b272e104d992ce923ae1156823f9b2446845723 (patch)
tree8fc45ca89e7ba50042480325ce1af074cac09075 /src/lib/kdb
parent5661d1290f74312a405db970aea097da77706f71 (diff)
downloadkrb5-2b272e104d992ce923ae1156823f9b2446845723.tar.gz
krb5-2b272e104d992ce923ae1156823f9b2446845723.tar.xz
krb5-2b272e104d992ce923ae1156823f9b2446845723.zip
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')
-rw-r--r--src/lib/kdb/kdb_convert.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/kdb/kdb_convert.c b/src/lib/kdb/kdb_convert.c
index 61b2b97471..63ddf9f367 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,