diff --git a/src/ChangeLog b/src/ChangeLog index 979189799..d900143ee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,9 +1,10 @@ - 2006-02-03 Roland Illig * widget.c: Added assertions to prevent bugs like the one from view.c(view_labels) from hiding that long. * view.c: s/attrset/tty_setcolor/g + * wtools.h: Replaced the printf-like attribute with __printf__, + since GNU gettext defines a macro printf on some systems. 2006-02-03 Pavel Tsekov diff --git a/src/wtools.h b/src/wtools.h index f44f1e2f2..7691f237e 100644 --- a/src/wtools.h +++ b/src/wtools.h @@ -66,11 +66,11 @@ void query_set_sel (int new_sel); /* Create message box but don't dismiss it yet, not background safe */ struct Dlg_head *create_message (int flags, const char *title, const char *text, ...) - __attribute__ ((format (printf, 3, 4))); + __attribute__ ((format (__printf__, 3, 4))); /* Show message box, background safe */ void message (int flags, const char *title, const char *text, ...) - __attribute__ ((format (printf, 3, 4))); + __attribute__ ((format (__printf__, 3, 4))); /* Use this as header for message() - it expands to "Error" */