|
|
@ -1155,7 +1155,7 @@ __END_DECLS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined(HAVE_VSNPRINTF_PROTO)
|
|
|
|
#if !defined(HAVE_VSNPRINTF_PROTO) || !defined(HAVE_SNPRINTF_PROTO)
|
|
|
|
#if __STDC__
|
|
|
|
#if __STDC__
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
@ -1165,11 +1165,15 @@ __END_DECLS
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
extern "C"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_VSNPRINTF_PROTO)
|
|
|
|
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
|
|
|
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined(HAVE_SNPRINTF_PROTO)
|
|
|
|
|
|
|
|
int snprintf(char *str, size_t n, char const *fmt, ...);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
extern "C"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
int snprintf(char *str, size_t n, char const *fmt, ...);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|