lib/registry/tests: Fix prototypes.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 19 Mar 2011 14:33:29 +0000 (15:33 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 19 Mar 2011 14:33:29 +0000 (15:33 +0100)
source4/lib/registry/tests/diff.c
source4/lib/registry/tests/generic.c
source4/lib/registry/tests/hive.c
source4/lib/registry/tests/registry.c

index 5568171f75d5a5cd6a9d691679517f9674106aee..5d2bfd7002c3d7b35d5647a2ff94333fd4edb296 100644 (file)
@@ -25,6 +25,7 @@
 #include "torture/torture.h"
 #include "librpc/gen_ndr/winreg.h"
 #include "param/param.h"
+#include "lib/registry/tests/proto.h"
 
 struct diff_tcase_data {
        struct registry_context *r1_ctx;
index 2e0863c17a35be45b7fe3aef2fd41e3e2a1da945..68fcdd593dd42f9540c01bd0a381cff27aeee749 100644 (file)
 #include "torture/torture.h"
 #include "librpc/gen_ndr/winreg.h"
 #include "param/param.h"
-
-struct torture_suite *torture_registry_hive(TALLOC_CTX *mem_ctx);
-struct torture_suite *torture_registry_registry(TALLOC_CTX *mem_ctx);
-struct torture_suite *torture_registry_diff(TALLOC_CTX *mem_ctx);
+#include "lib/registry/tests/proto.h"
 
 static bool test_str_regtype(struct torture_context *ctx)
 {
index 71d3f0a3f8374c6c51bc74259b1f03868395f152..28d4bbc8e139ebc34f8422f7d6c8b46dfc2551ee 100644 (file)
@@ -27,6 +27,7 @@
 #include "system/filesys.h"
 #include "param/param.h"
 #include "libcli/security/security.h"
+#include "lib/registry/tests/proto.h"
 
 static bool test_del_nonexistant_key(struct torture_context *tctx,
                                     const void *test_data)
index 50aefc87860228edc1b60a9fb4cef0a3fd168d63..7179c72e467eae2413a90920e92c302036ca1ddb 100644 (file)
@@ -26,6 +26,7 @@
 #include "librpc/gen_ndr/winreg.h"
 #include "libcli/security/security.h"
 #include "system/filesys.h"
+#include "lib/registry/tests/proto.h"
 
 /**
  * Test obtaining a predefined key.