From 65d46d7e0123cf42b5c98f633bd41c90acaa180d Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Fri, 21 Apr 2006 23:15:44 +0000 Subject: Add printf format attributes. CVS patchset: 7977 CVS date: 2006/04/21 23:15:44 --- src/xine-utils/xine_check.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/xine-utils') diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c index 2479a9887..a27052d1a 100644 --- a/src/xine-utils/xine_check.c +++ b/src/xine-utils/xine_check.c @@ -72,7 +72,10 @@ #endif /* !__linux__ */ -static void __attribute__ ((format (printf, 3, 4))) +static void +#ifdef __GNUC__ +__attribute__((format (printf, 3, 4))) +#endif set_hc_result(xine_health_check_t* hc, int state, const char *format, ...) { -- cgit v1.2.3