Commit 5501baa9 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

Mark f_print with printf type attribute to allow format checking.

parent f35e98e4
......@@ -39,7 +39,7 @@ typedef enum print_type_t {
PRINT_XML
} print_type_t;
typedef void (*f_print)(void *, const char *, ...);
typedef void (*f_print)(void *, const char *, ...) __attribute__ ((format(printf, 2, 3)));
typedef char * (*f_iconv)(void *, const char *, char *, size_t);
#ifdef __cplusplus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment