summaryrefslogtreecommitdiff
path: root/source4/torture/ui.c
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.c
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.c')
-rw-r--r--source4/torture/ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/ui.c b/source4/torture/ui.c
index 81d787b878..8e1a2a1c93 100644
--- a/source4/torture/ui.c
+++ b/source4/torture/ui.c
@@ -23,7 +23,7 @@
#include "torture/ui.h"
#include "dlinklist.h"
-void torture_comment(struct torture_context *context, const char *comment, ...) _PRINTF_ATTRIBUTE(2,3)
+void torture_comment(struct torture_context *context, const char *comment, ...)
{
va_list ap;
char *tmp;
@@ -39,7 +39,7 @@ void torture_comment(struct torture_context *context, const char *comment, ...)
talloc_free(tmp);
}
-void torture_fail(struct torture_context *context, const char *fmt, ...) _PRINTF_ATTRIBUTE(2,3)
+void torture_fail(struct torture_context *context, const char *fmt, ...)
{
va_list ap;
@@ -49,7 +49,7 @@ void torture_fail(struct torture_context *context, const char *fmt, ...) _PRINTF
context->last_result = TORTURE_FAIL;
}
-void torture_skip(struct torture_context *context, const char *fmt, ...) _PRINTF_ATTRIBUTE(2,3)
+void torture_skip(struct torture_context *context, const char *fmt, ...)
{
va_list ap;
context->skipped++;