diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-08-13 18:16:20 +0200 |
---|---|---|
committer | Ralph Böhme <slow@samba.org> | 2015-08-20 16:06:20 +0200 |
commit | 4451d0a5cda71b61f4d7a7529c14d831b91574bb (patch) | |
tree | 538fd8dc2e4f374e97e80533c531b57312de82a2 /examples/pdb | |
parent | f8fca7d3155e6ff92d40d9de1a3a2043aeb995ca (diff) | |
download | samba-4451d0a5cda71b61f4d7a7529c14d831b91574bb.tar.gz |
examples/pdb: fix and validate pdb_test_init() prototype via static_decl_pdb;
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'examples/pdb')
-rw-r--r-- | examples/pdb/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pdb/test.c b/examples/pdb/test.c index 5780130f3d8..6d68d87a929 100644 --- 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_testsam_init(void) +static_decl_pdb; +NTSTATUS pdb_test_init(void) { return smb_register_passdb(PASSDB_INTERFACE_VERSION, "testsam", testsam_init); |