summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-28 17:48:48 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-28 17:48:48 +0000
commit17a3acafa89bfc6090b0767d05a00a7505003fcc (patch)
tree8c1ddf10d38ef69a9e72a009d6dc890e5bbe901c /source3/include
parentcff01c538f3647f5169a8e5a3ab4b77ad0cebce5 (diff)
downloadsamba-17a3acafa89bfc6090b0767d05a00a7505003fcc.tar.gz
samba-17a3acafa89bfc6090b0767d05a00a7505003fcc.tar.xz
samba-17a3acafa89bfc6090b0767d05a00a7505003fcc.zip
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 bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_misc.h2
-rw-r--r--source3/include/smb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/rpc_misc.h b/source3/include/rpc_misc.h
index 77104894351..d04a84d5083 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 62cc95ecb08..5ee6b971721 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 */