summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/tests/diff.c1
-rw-r--r--source4/lib/registry/tests/generic.c5
-rw-r--r--source4/lib/registry/tests/hive.c1
-rw-r--r--source4/lib/registry/tests/registry.c1
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/registry/tests/diff.c b/source4/lib/registry/tests/diff.c
index 5568171f75..5d2bfd7002 100644
--- a/source4/lib/registry/tests/diff.c
+++ b/source4/lib/registry/tests/diff.c
@@ -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;
diff --git a/source4/lib/registry/tests/generic.c b/source4/lib/registry/tests/generic.c
index 2e0863c17a..68fcdd593d 100644
--- a/source4/lib/registry/tests/generic.c
+++ b/source4/lib/registry/tests/generic.c
@@ -24,10 +24,7 @@
#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)
{
diff --git a/source4/lib/registry/tests/hive.c b/source4/lib/registry/tests/hive.c
index 71d3f0a3f8..28d4bbc8e1 100644
--- a/source4/lib/registry/tests/hive.c
+++ b/source4/lib/registry/tests/hive.c
@@ -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)
diff --git a/source4/lib/registry/tests/registry.c b/source4/lib/registry/tests/registry.c
index 50aefc8786..7179c72e46 100644
--- a/source4/lib/registry/tests/registry.c
+++ b/source4/lib/registry/tests/registry.c
@@ -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.