Use __attribute__ ((__name__)) form
Protect against macros named noreturn and so on.
This commit is contained in:

committed by
Viktor Dukhovni

parent
31896397d7
commit
6a0f45c4d7
@@ -72,14 +72,14 @@ rtbl_add_column_by_id (rtbl_t, unsigned int, const char*, unsigned int);
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rtbl_add_column_entryv_by_id (rtbl_t table, unsigned int id,
|
||||
const char *fmt, ...)
|
||||
__attribute__ ((format (printf, 3, 0)));
|
||||
__attribute__ ((__format__ (__printf__, 3, 0)));
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rtbl_add_column_entry (rtbl_t, const char*, const char*);
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rtbl_add_column_entryv (rtbl_t, const char*, const char*, ...)
|
||||
__attribute__ ((format (printf, 3, 0)));
|
||||
__attribute__ ((__format__ (__printf__, 3, 0)));
|
||||
|
||||
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
|
||||
rtbl_add_column_entry_by_id (rtbl_t, unsigned int, const char*);
|
||||
|
Reference in New Issue
Block a user