mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
r20268: merge -r 20261:20263 from samba_3_0_24
get rid of previous prototype warnings
This commit is contained in:
parent
88ab54b3b7
commit
90265c83ff
@ -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);
|
||||
|
@ -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); \
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user