summaryrefslogtreecommitdiff
path: root/source4/torture/ui.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-06-23 21:05:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:30 -0500
commitcb93d28e7c06fc8a95f9fda69fc2a9705120b10a (patch)
treea54de3572458db4801241a97bd67cb8c86f582db /source4/torture/ui.h
parent240ec86942c6efad5da9b762075971f66969b2f4 (diff)
downloadsamba-cb93d28e7c06fc8a95f9fda69fc2a9705120b10a.tar.gz
samba-cb93d28e7c06fc8a95f9fda69fc2a9705120b10a.tar.bz2
samba-cb93d28e7c06fc8a95f9fda69fc2a9705120b10a.zip
r16489: Because the torture/ui.h file isn't automaticly generated, the
prototypes in it need to use the PRINTF_ATTRIBUTE() macro, rather than _PRINTF_ATTRIBUTE() (which becomes PRINTF_ATTRIBUTE() only in proto files, but not C files). This found a number of missing descriptions in the LOCAL-SOCKET test. Andrew Bartlett (This used to be commit 1009d55c8caa173e9998b38235c06b4ae4b30d80)
Diffstat (limited to 'source4/torture/ui.h')
-rw-r--r--source4/torture/ui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/ui.h b/source4/torture/ui.h
index ea6fe44609..96dccbd5a0 100644
--- a/source4/torture/ui.h
+++ b/source4/torture/ui.h
@@ -161,9 +161,9 @@ BOOL torture_run_test(struct torture_context *context,
#define torture_assert_werr_ok(ctx,expr,string) \
torture_assert_werr_equal(ctx,expr,WERR_OK,string)
-void torture_comment(struct torture_context *test, const char *comment, ...) _PRINTF_ATTRIBUTE(2,3);
-void torture_fail(struct torture_context *test, const char *reason, ...) _PRINTF_ATTRIBUTE(2,3);
-void torture_skip(struct torture_context *test, const char *reason, ...) _PRINTF_ATTRIBUTE(2,3);
+void torture_comment(struct torture_context *test, const char *comment, ...) PRINTF_ATTRIBUTE(2,3);
+void torture_fail(struct torture_context *test, const char *reason, ...) PRINTF_ATTRIBUTE(2,3);
+void torture_skip(struct torture_context *test, const char *reason, ...) PRINTF_ATTRIBUTE(2,3);
const char *torture_setting(struct torture_context *test, const char *name,
const char *default_value);