diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 18:33:25 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 18:33:25 +0000 |
commit | 81256ecbb977351b4d6a992df17be4b107071935 (patch) | |
tree | b299293b39b94c7c4fb9eb8f7ffc179aad46a03d /examples/VFS | |
parent | 023cd5ff70083526423320470c41eefef1b8f93f (diff) | |
download | samba-81256ecbb977351b4d6a992df17be4b107071935.tar.gz samba-81256ecbb977351b4d6a992df17be4b107071935.tar.bz2 samba-81256ecbb977351b4d6a992df17be4b107071935.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 f4576757d1d52a8f1b96894c869bb76450003fd1)
Diffstat (limited to 'examples/VFS')
-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 f19323480f..fe6e0731ef 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); } |