* Add a printf attribute to the debug function to trap errors.
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
* debug.h: debugging support
|
||||
*/
|
||||
|
||||
extern void zzuf_debug(const char *format, ...);
|
||||
extern void zzuf_debug(const char *format, ...)
|
||||
__attribute__((__format__(__printf__, 1, 2)));
|
||||
|
||||
#define debug zzuf_debug
|
||||
|
||||
|
||||
Reference in New Issue
Block a user