summaryrefslogtreecommitdiffstats
path: root/examples/VFS
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
commitbc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d (patch)
treedb57cdb240c54b4b980720385535abf4f087c5a8 /examples/VFS
parente112dc1641c47c7185e098918980df1a4d950bd7 (diff)
downloadsamba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.tar.gz
samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.tar.xz
samba-bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d.zip
Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
Diffstat (limited to 'examples/VFS')
-rw-r--r--examples/VFS/skel.c2
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);
}