From: Ezra Peisach Date: Sun, 15 Oct 2006 18:46:13 +0000 (+0000) Subject: Cleanup some warnings on missing prototypes X-Git-Tag: krb5-1.6-alpha1~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f4e1deba268bb98a4b57d388843036327f5705ab;p=krb5.git Cleanup some warnings on missing prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18715 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gss-sample/gss-client.c b/src/appl/gss-sample/gss-client.c index 32cd1bd78..0ee268499 100644 --- a/src/appl/gss-sample/gss-client.c +++ b/src/appl/gss-sample/gss-client.c @@ -664,7 +664,7 @@ static gss_OID oid = GSS_C_NULL_OID; static int mcount = 1, ccount = 1; static int auth_flag, wrap_flag, encrypt_flag, mic_flag, v1_format; -void +static void worker_bee(void *unused) { if (call_server(server_host, port, oid, service_name, diff --git a/src/appl/gss-sample/gss-server.c b/src/appl/gss-sample/gss-server.c index 5377b689a..488f14ccc 100644 --- a/src/appl/gss-sample/gss-server.c +++ b/src/appl/gss-sample/gss-server.c @@ -618,7 +618,7 @@ struct _work_plan int export; }; -void +static void worker_bee(void *param) { struct _work_plan *work = (struct _work_plan *) param; diff --git a/src/appl/telnet/telnetd/ext.h b/src/appl/telnet/telnetd/ext.h index 7b77a44b0..5d4f8e159 100644 --- a/src/appl/telnet/telnetd/ext.h +++ b/src/appl/telnet/telnetd/ext.h @@ -141,6 +141,9 @@ extern void suboption (void), telrcv (void), ttloop (void), +#if defined(AUTHENTICATION) + ttsuck (void), +#endif tty_binaryin (int), tty_binaryout (int); diff --git a/src/krb524/conv_princ.c b/src/krb524/conv_princ.c index 3359981ba..5ec2940d7 100644 --- a/src/krb524/conv_princ.c +++ b/src/krb524/conv_princ.c @@ -22,6 +22,7 @@ #include "krb5.h" #include +#include "krb524d.h" int krb524_convert_princs(context, client, server, pname, pinst, prealm, sname, sinst, srealm) diff --git a/src/plugins/kdb/db2/kdb_db2.h b/src/plugins/kdb/db2/kdb_db2.h index 7c34ad4fa..d6cb1e881 100644 --- a/src/plugins/kdb/db2/kdb_db2.h +++ b/src/plugins/kdb/db2/kdb_db2.h @@ -133,13 +133,18 @@ krb5_db2_db_delete_principal(krb5_context context, krb5_const_principal searchfor, int *nentries); -krb5_error_code krb5_db2_lib_init(); +krb5_error_code krb5_db2_lib_init(void); krb5_error_code krb5_db2_lib_cleanup(void); krb5_error_code krb5_db2_db_unlock(krb5_context); +krb5_error_code +krb5_db2_promote_db(krb5_context kcontext, + char *conf_section, + char **db_args); + krb5_error_code krb5_db2_db_set_option ( krb5_context kcontext, int option, diff --git a/src/plugins/kdb/db2/pol_xdr.c b/src/plugins/kdb/db2/pol_xdr.c index 969259ec2..43eac32df 100644 --- a/src/plugins/kdb/db2/pol_xdr.c +++ b/src/plugins/kdb/db2/pol_xdr.c @@ -7,6 +7,7 @@ #include #endif +static bool_t xdr_nullstring(XDR *xdrs, char **objp) { u_int size;