From 84cd4d05e0a6e04c2a9fd1f4608a73ee1086a7af Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 20 Dec 2006 01:07:21 +0000 Subject: r20268: merge -r 20261:20263 from samba_3_0_24 get rid of previous prototype warnings (This used to be commit 90265c83ff1c7f11672694ff005d8ecc5d4a867f) --- source3/auth/auth_script.c | 1 + source3/include/charset.h | 1 + source3/modules/weird.c | 1 + 3 files changed, 3 insertions(+) (limited to 'source3') diff --git a/source3/auth/auth_script.c b/source3/auth/auth_script.c index 3d007b7730..bdcd7533f9 100644 --- a/source3/auth/auth_script.c +++ b/source3/auth/auth_script.c @@ -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); diff --git a/source3/include/charset.h b/source3/include/charset.h index 5983fcdd4f..5ac8d17486 100644 --- a/source3/include/charset.h +++ b/source3/include/charset.h @@ -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); \ diff --git a/source3/modules/weird.c b/source3/modules/weird.c index ccee9d71ed..12a535cbb7 100644 --- a/source3/modules/weird.c +++ b/source3/modules/weird.c @@ -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); -- cgit