diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-03-19 15:33:29 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-03-19 15:33:29 +0100 |
commit | 01b0f45d52cad6853bb51ec96ae0f79c958d9875 (patch) | |
tree | bc5cc8eeb1bd40fff40cb697d6dbd0ee7041e2d1 | |
parent | ce45027816d27e4493739b2f45821febb462ba02 (diff) | |
download | samba-01b0f45d52cad6853bb51ec96ae0f79c958d9875.tar.gz samba-01b0f45d52cad6853bb51ec96ae0f79c958d9875.tar.bz2 samba-01b0f45d52cad6853bb51ec96ae0f79c958d9875.zip |
lib/registry/tests: Fix prototypes.
-rw-r--r-- | source4/lib/registry/tests/diff.c | 1 | ||||
-rw-r--r-- | source4/lib/registry/tests/generic.c | 5 | ||||
-rw-r--r-- | source4/lib/registry/tests/hive.c | 1 | ||||
-rw-r--r-- | source4/lib/registry/tests/registry.c | 1 |
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. |