r20268: merge -r 20261:20263 from samba_3_0_24
authorHerb Lewis <herb@samba.org>
Wed, 20 Dec 2006 01:07:21 +0000 (01:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:16:38 +0000 (12:16 -0500)
get rid of previous prototype warnings
(This used to be commit 90265c83ff1c7f11672694ff005d8ecc5d4a867f)

source3/auth/auth_script.c
source3/include/charset.h
source3/modules/weird.c

index 3d007b773034dd177e5d2a05de31eedeef06d68b..bdcd7533f93cf27dcae5a0846079555152cced7c 100644 (file)
@@ -141,6 +141,7 @@ static NTSTATUS auth_init_script(struct auth_context *auth_context, const char *
        return NT_STATUS_OK;
 }
 
+NTSTATUS auth_script_init(void);
 NTSTATUS auth_script_init(void)
 {
        return smb_register_auth(AUTH_INTERFACE_VERSION, "script", auth_init_script);
index 5983fcdd4f94b175ca9ef0e42f4afd82385ecd82..5ac8d17486fa3952ae4d26859dbe63cac338992b 100644 (file)
@@ -119,6 +119,7 @@ static size_t CHARSETNAME ## _pull(void *cd, const char **inbuf, size_t *inbytes
 struct charset_functions CHARSETNAME ## _functions =                                           \
                {#CHARSETNAME, CHARSETNAME ## _pull, CHARSETNAME ## _push};                     \
                                                                                                \
+NTSTATUS charset_ ## CHARSETNAME ## _init(void);                                                       \
 NTSTATUS charset_ ## CHARSETNAME ## _init(void)                                                        \
 {                                                                                              \
        return smb_register_charset(& CHARSETNAME ## _functions);                               \
index ccee9d71eddd94068d504163cdc9c1cc6368bb9a..12a535cbb75d521a4597bb3e850f1c89111ebb7d 100644 (file)
@@ -125,6 +125,7 @@ static size_t weird_push(void *cd, const char **inbuf, size_t *inbytesleft,
 
 struct charset_functions weird_functions = {"WEIRD", weird_pull, weird_push};
 
+NTSTATUS charset_weird_init(void);
 NTSTATUS charset_weird_init(void)
 {
        return smb_register_charset(&weird_functions);