Removed format specification attributes for log() and debug() until
GCC is fixed to handle custom formats.
This commit is contained in:
parent
786d0bb9e7
commit
1be52eea57
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
/* Logging and dying */
|
/* Logging and dying */
|
||||||
|
|
||||||
void log(char *msg, ...) __attribute__((format(printf,1,2)));
|
void log(char *msg, ...);
|
||||||
void die(char *msg, ...) __attribute__((format(printf,1,2))) NORET;
|
void die(char *msg, ...) NORET;
|
||||||
|
|
||||||
#define L_DEBUG "\001" /* Debugging messages */
|
#define L_DEBUG "\001" /* Debugging messages */
|
||||||
#define L_INFO "\002" /* Informational messages */
|
#define L_INFO "\002" /* Informational messages */
|
||||||
|
|
Loading…
Reference in a new issue