Add attribute format in nghttp2_debug_vprintf_callback

Change-Id: I991b84ce731adbd25f5cdf565333db1a19e75ec6
This commit is contained in:
Wei Shi S 2018-04-11 09:44:08 +08:00
parent b48bcb214a
commit fc55891d31
1 changed files with 1 additions and 1 deletions

View File

@ -5337,7 +5337,7 @@ nghttp2_stream_get_sum_dependency_weight(nghttp2_stream *stream);
* ``DEBUGBUILD`` macro defined.
*/
typedef void (*nghttp2_debug_vprintf_callback)(const char *format,
va_list args);
va_list args) __attribute__ ((format(printf, 1, 0)));
/**
* @function