From 01b0f45d52cad6853bb51ec96ae0f79c958d9875 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 15:33:29 +0100 Subject: lib/registry/tests: Fix prototypes. --- source4/lib/registry/tests/diff.c | 1 + source4/lib/registry/tests/generic.c | 5 +---- source4/lib/registry/tests/hive.c | 1 + source4/lib/registry/tests/registry.c | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/lib/registry') 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. -- cgit