summaryrefslogtreecommitdiff
path: root/bsd-snprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-snprintf.h')
-rw-r--r--bsd-snprintf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-snprintf.h b/bsd-snprintf.h
index 6be2047e1..2946c6613 100644
--- a/bsd-snprintf.h
+++ b/bsd-snprintf.h
@@ -6,11 +6,11 @@
6#include <sys/types.h> /* For size_t */ 6#include <sys/types.h> /* For size_t */
7 7
8#ifndef HAVE_SNPRINTF 8#ifndef HAVE_SNPRINTF
9int snprintf(char *str, size_t n, char const *fmt, ...); 9int snprintf(char *str, size_t count, const char *fmt, ...)
10#endif /* !HAVE_SNPRINTF */ 10#endif /* !HAVE_SNPRINTF */
11 11
12#ifndef HAVE_VSNPRINTF 12#ifndef HAVE_VSNPRINTF
13int vsnprintf(char *str, size_t n, char *fmt, va_list ap); 13int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
14#endif /* !HAVE_SNPRINTF */ 14#endif /* !HAVE_SNPRINTF */
15 15
16 16