examples/pdb: fix and validate pdb_test_init() prototype via static_decl_pdb;
[bbaumbach/samba-autobuild/.git] / examples / pdb / test.c
index 5780130f3d8c9bab10c5af0a143f365dec9b1a98..6d68d87a929ce433bd6e15b0da919009c7877e1f 100644 (file)
@@ -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);