s4:torture/smb2: fix the build
authorStefan Metzmacher <metze@samba.org>
Fri, 27 Mar 2009 12:21:25 +0000 (13:21 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 27 Mar 2009 12:26:43 +0000 (13:26 +0100)
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

source4/torture/smb2/smb2.c

index 3b2e752295f445f7b4a3c9496f38db6cd2ab95a7..3c9522e771b31d1cecb5d5cbf795309ea3dc34d2 100644 (file)
@@ -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;