Add attribute format in nghttp2_debug_vprintf_callback
Change-Id: I991b84ce731adbd25f5cdf565333db1a19e75ec6
This commit is contained in:
parent
fc55891d31
commit
66ddd22a5c
|
@ -5337,7 +5337,11 @@ nghttp2_stream_get_sum_dependency_weight(nghttp2_stream *stream);
|
||||||
* ``DEBUGBUILD`` macro defined.
|
* ``DEBUGBUILD`` macro defined.
|
||||||
*/
|
*/
|
||||||
typedef void (*nghttp2_debug_vprintf_callback)(const char *format,
|
typedef void (*nghttp2_debug_vprintf_callback)(const char *format,
|
||||||
va_list args) __attribute__ ((format(printf, 1, 0)));
|
va_list args)
|
||||||
|
#ifdef __GNUC__
|
||||||
|
__attribute__ ((format(printf, 1, 0)))
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @function
|
* @function
|
||||||
|
|
Loading…
Reference in New Issue