From: Martin Mares Date: Fri, 10 Jul 1998 08:39:34 +0000 (+0000) Subject: Removed format specification attributes for log() and debug() until X-Git-Tag: v1.2.0~1856 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1be52eea5777f082b02e0f484620e692017b16a2;p=thirdparty%2Fbird.git Removed format specification attributes for log() and debug() until GCC is fixed to handle custom formats. --- diff --git a/lib/birdlib.h b/lib/birdlib.h index 3d235c9e5..4b8164bd9 100644 --- a/lib/birdlib.h +++ b/lib/birdlib.h @@ -25,8 +25,8 @@ /* Logging and dying */ -void log(char *msg, ...) __attribute__((format(printf,1,2))); -void die(char *msg, ...) __attribute__((format(printf,1,2))) NORET; +void log(char *msg, ...); +void die(char *msg, ...) NORET; #define L_DEBUG "\001" /* Debugging messages */ #define L_INFO "\002" /* Informational messages */