Commit fef294f9 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(isc_printf): Tell GCC that the second argument is a printf-style

format string if HAVE_ATTRIBUTE_FORMAT_PRINTF is set.
parent ae69fc05
......@@ -514,7 +514,11 @@ isc_putc(int chr,
extern int
isc_printf(IscSession * scb,
const char * format,
...);
...)
# if HAVE_ATTRIBUTE_FORMAT_PRINTF
__attribute__ ((format (printf, 2, 3)))
# endif
;
#endif
#ifdef HAVE_STDARG_H
......
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