add format string marker for better warnings

This commit is contained in:
Dirk Mueller 2012-01-03 20:57:01 +01:00
parent d066fb0004
commit c9242ad8e2

View file

@ -131,7 +131,11 @@ typedef struct HashTable HashTable;
void _plkr_message (
const char *formatSpec,
...
);
)
#ifdef __GNUC__
__attribute__ ((format (printf, 1, 2)))
#endif
;
/* Display the message to stderr */
char *_plkr_strndup (