summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 15:33:29 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 15:33:29 +0100
commit01b0f45d52cad6853bb51ec96ae0f79c958d9875 (patch)
treebc5cc8eeb1bd40fff40cb697d6dbd0ee7041e2d1 /source4
parentce45027816d27e4493739b2f45821febb462ba02 (diff)
downloadsamba-01b0f45d52cad6853bb51ec96ae0f79c958d9875.tar.gz
samba-01b0f45d52cad6853bb51ec96ae0f79c958d9875.tar.bz2
samba-01b0f45d52cad6853bb51ec96ae0f79c958d9875.zip
lib/registry/tests: Fix prototypes.
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.