summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-27 13:21:25 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-27 13:26:43 +0100
commit5c9e90eb7e7346c2af3bdc15228f97055ed5d1d6 (patch)
tree7e79f8372062ec732fd6262b3e0334fd6f166e2c
parentee8bc9659c172a06fc40836c7dea1fb1d9aff244 (diff)
downloadsamba-5c9e90eb7e7346c2af3bdc15228f97055ed5d1d6.tar.gz
samba-5c9e90eb7e7346c2af3bdc15228f97055ed5d1d6.tar.bz2
samba-5c9e90eb7e7346c2af3bdc15228f97055ed5d1d6.zip
s4:torture/smb2: fix the build
We move prototypes of _PUBLIC_ functions into /dev/null, as we want public function to have handwritten prototypes. see proto_header_template in build/make/templates.mk... metze
-rw-r--r--source4/torture/smb2/smb2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/smb2/smb2.c b/source4/torture/smb2/smb2.c
index 3b2e752295..3c9522e771 100644
--- a/source4/torture/smb2/smb2.c
+++ b/source4/torture/smb2/smb2.c
@@ -100,11 +100,11 @@ static bool wrap_simple_2smb2_test(struct torture_context *torture_ctx,
}
-_PUBLIC_ struct torture_test *torture_suite_add_2smb2_test(struct torture_suite *suite,
- const char *name,
- bool (*run)(struct torture_context *,
- struct smb2_tree *,
- struct smb2_tree *))
+struct torture_test *torture_suite_add_2smb2_test(struct torture_suite *suite,
+ const char *name,
+ bool (*run)(struct torture_context *,
+ struct smb2_tree *,
+ struct smb2_tree *))
{
struct torture_test *test;
struct torture_tcase *tcase;