summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-20 01:07:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:38 -0500
commit84cd4d05e0a6e04c2a9fd1f4608a73ee1086a7af (patch)
tree7ee0ccf9a597dea8ff27a8cf22706a1cc3104a2f
parent9e41616b0667565e53bdff344165d0df6753b433 (diff)
downloadsamba-84cd4d05e0a6e04c2a9fd1f4608a73ee1086a7af.tar.gz
samba-84cd4d05e0a6e04c2a9fd1f4608a73ee1086a7af.tar.bz2
samba-84cd4d05e0a6e04c2a9fd1f4608a73ee1086a7af.zip
r20268: merge -r 20261:20263 from samba_3_0_24
get rid of previous prototype warnings (This used to be commit 90265c83ff1c7f11672694ff005d8ecc5d4a867f)
-rw-r--r--source3/auth/auth_script.c1
-rw-r--r--source3/include/charset.h1
-rw-r--r--source3/modules/weird.c1
3 files changed, 3 insertions, 0 deletions
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);