From 81256ecbb977351b4d6a992df17be4b107071935 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 28 Apr 2003 18:33:25 +0000 Subject: Use NTSTATUS as return value for smb_register_*() functions and init_module() function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1) --- source3/include/rpc_misc.h | 2 +- source3/include/smb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h index 06ad760c58..a0572a0bfd 100644 --- a/source3/include/rpc_misc.h +++ b/source3/include/rpc_misc.h @@ -26,7 +26,7 @@ #ifndef _RPC_MISC_H /* _RPC_MISC_H */ #define _RPC_MISC_H - +#define SMB_RPC_INTERFACE_VERSION 1 /* well-known RIDs - Relative IDs */ diff --git a/source3/include/smb.h b/source3/include/smb.h index 62cc95ecb0..5ee6b97172 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1736,6 +1736,6 @@ typedef struct { #include "popt_common.h" /* Module support */ -typedef int (init_module_function) (void); +typedef NTSTATUS (init_module_function) (void); #endif /* _SMB_H */ -- cgit