Cleanup some warnings on missing prototypes
authorEzra Peisach <epeisach@mit.edu>
Sun, 15 Oct 2006 18:46:13 +0000 (18:46 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sun, 15 Oct 2006 18:46:13 +0000 (18:46 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18715 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gss-sample/gss-client.c
src/appl/gss-sample/gss-server.c
src/appl/telnet/telnetd/ext.h
src/krb524/conv_princ.c
src/plugins/kdb/db2/kdb_db2.h
src/plugins/kdb/db2/pol_xdr.c

index 32cd1bd780d25364c79dfa71dd3be756c2a22c06..0ee2684992891d8e84d7fa3df9248eaee5be3df3 100644 (file)
@@ -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,
index 5377b689a223182463c494cf35ab6c1e27afc573..488f14ccc53caf832a5b30a67b9725b4c250abf2 100644 (file)
@@ -618,7 +618,7 @@ struct _work_plan
     int     export;
 };
 
-void
+static void
 worker_bee(void *param)
 {
     struct _work_plan *work = (struct _work_plan *) param;
index 7b77a44b0c6810b23ddf711ec5b2eb63eaddfec4..5d4f8e15989d28ddb07713df20c076fd678ebac5 100644 (file)
@@ -141,6 +141,9 @@ extern void
        suboption (void),
        telrcv (void),
        ttloop (void),
+#if    defined(AUTHENTICATION)
+        ttsuck (void),
+#endif
        tty_binaryin (int),
        tty_binaryout (int);
 
index 3359981ba4c6affb8e7c73f6ada08079be89fb60..5ec2940d7d0bc590cb804321026afba4bc593604 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "krb5.h"
 #include <krb.h>
+#include "krb524d.h"
 
 int krb524_convert_princs(context, client, server, pname, pinst, prealm, 
                          sname, sinst, srealm)
index 7c34ad4fab066796f1ffb6e769d2afbf8cd6a792..d6cb1e8817d2dd65cd164c19ad16aea77635a71c 100644 (file)
@@ -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, 
index 969259ec23f8ec38eb1ef212d62d9139664bcb58..43eac32df4a021354abf466ec5312e1c5887cc0e 100644 (file)
@@ -7,6 +7,7 @@
 #include <memory.h>
 #endif
 
+static 
 bool_t xdr_nullstring(XDR *xdrs, char **objp)
 {
      u_int size;