From 9198ef4d82decfebda42f6eec98e51b100f3f834 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Sun, 18 Mar 2001 22:09:25 +0000 Subject: use some help with __attribute__ --- mdk-stage1/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/log.h') diff --git a/mdk-stage1/log.h b/mdk-stage1/log.h index fcc641ad9..90aa3f6e6 100644 --- a/mdk-stage1/log.h +++ b/mdk-stage1/log.h @@ -25,7 +25,7 @@ #include -void log_message(const char * s, ...); +void log_message(const char * s, ...) __attribute__ ((format (printf, 1, 2))); void vlog_message(const char * s, va_list args); void log_perror(char *msg); void open_log(void); -- cgit v1.2.1