* Add a printf attribute to the debug function to trap errors.

This commit is contained in:
Sam Hocevar
2006-12-15 10:18:57 +00:00
committed by sam
parent 93ef1731f4
commit 7695aaa56f

View File

@@ -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