summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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);