]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Removed format specification attributes for log() and debug() until
authorMartin Mares <mj@ucw.cz>
Fri, 10 Jul 1998 08:39:34 +0000 (08:39 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 10 Jul 1998 08:39:34 +0000 (08:39 +0000)
GCC is fixed to handle custom formats.

lib/birdlib.h

index 3d235c9e5770a86506b4afce913561b145db9595..4b8164bd9ad498a7cad06fa1af4abc21f99e964d 100644 (file)
@@ -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 */