summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-28 18:33:25 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-28 18:33:25 +0000
commitf4576757d1d52a8f1b96894c869bb76450003fd1 (patch)
tree484ddc68492c02c9a1b963b5be3b0dc871716304 /examples
parentd16f8f661a2a0be4fd89f7469b7e3e6a42860ad2 (diff)
downloadsamba-f4576757d1d52a8f1b96894c869bb76450003fd1.tar.gz
samba-f4576757d1d52a8f1b96894c869bb76450003fd1.tar.xz
samba-f4576757d1d52a8f1b96894c869bb76450003fd1.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')
-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);
}