diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 17:48:48 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 17:48:48 +0000 |
commit | 17a3acafa89bfc6090b0767d05a00a7505003fcc (patch) | |
tree | 8c1ddf10d38ef69a9e72a009d6dc890e5bbe901c /examples | |
parent | cff01c538f3647f5169a8e5a3ab4b77ad0cebce5 (diff) | |
download | samba-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 'examples')
-rw-r--r-- | examples/VFS/skel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/VFS/skel.c b/examples/VFS/skel.c index f19323480fc..fe6e0731efa 100644 --- a/examples/VFS/skel.c +++ b/examples/VFS/skel.c @@ -451,7 +451,7 @@ static vfs_op_tuple *skel_init(const struct vfs_ops *def_vfs_ops, return skel_ops; } -int init_module(void) +NTSTATUS init_module(void) { return smb_register_vfs("skel", skel_init, SMB_VFS_INTERFACE_VERSION); } |