Removed compiler GCC warning.

This commit is contained in:
Norbert Nopper 2017-05-09 09:53:48 +02:00
parent 9dc7323b74
commit 621e233217

View File

@ -5084,6 +5084,7 @@ nk_dtoa(char *s, double n)
} }
#ifdef NK_INCLUDE_STANDARD_VARARGS #ifdef NK_INCLUDE_STANDARD_VARARGS
#ifndef NK_INCLUDE_STANDARD_IO
static int static int
nk_vsnprintf(char *buf, int buf_size, const char *fmt, va_list args) nk_vsnprintf(char *buf, int buf_size, const char *fmt, va_list args)
{ {
@ -5402,6 +5403,7 @@ nk_vsnprintf(char *buf, int buf_size, const char *fmt, va_list args)
result = (len >= buf_size)?-1:len; result = (len >= buf_size)?-1:len;
return result; return result;
} }
#endif
NK_INTERN int NK_INTERN int
nk_strfmt(char *buf, int buf_size, const char *fmt, va_list args) nk_strfmt(char *buf, int buf_size, const char *fmt, va_list args)