git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8fca7d
)
examples/pdb: fix and validate pdb_test_init() prototype via static_decl_pdb;
author
Stefan Metzmacher
<metze@samba.org>
Thu, 13 Aug 2015 16:16:20 +0000
(18:16 +0200)
committer
Ralph Böhme
<slow@samba.org>
Thu, 20 Aug 2015 14:06:20 +0000
(16:06 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
examples/pdb/test.c
patch
|
blob
|
history
diff --git
a/examples/pdb/test.c
b/examples/pdb/test.c
index 5780130f3d8c9bab10c5af0a143f365dec9b1a98..6d68d87a929ce433bd6e15b0da919009c7877e1f 100644
(file)
--- a/
examples/pdb/test.c
+++ b/
examples/pdb/test.c
@@
-107,8
+107,8
@@
static NTSTATUS testsam_init(struct pdb_methods **pdb_method, const char *locati
return NT_STATUS_OK;
}
-
NTSTATUS pdb_testsam_init(void)
;
-NTSTATUS pdb_test
sam
_init(void)
+
static_decl_pdb
;
+NTSTATUS pdb_test_init(void)
{
return smb_register_passdb(PASSDB_INTERFACE_VERSION, "testsam",
testsam_init);