diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-snprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-snprintf.c b/openbsd-compat/bsd-snprintf.c index ca275abdf..e4ba154fd 100644 --- a/openbsd-compat/bsd-snprintf.c +++ b/openbsd-compat/bsd-snprintf.c | |||
@@ -89,7 +89,7 @@ | |||
89 | 89 | ||
90 | #include "includes.h" | 90 | #include "includes.h" |
91 | 91 | ||
92 | RCSID("$Id: bsd-snprintf.c,v 1.10 2005/11/24 08:58:21 djm Exp $"); | 92 | RCSID("$Id: bsd-snprintf.c,v 1.11 2005/12/17 11:32:04 dtucker Exp $"); |
93 | 93 | ||
94 | #if defined(BROKEN_SNPRINTF) /* For those with broken snprintf() */ | 94 | #if defined(BROKEN_SNPRINTF) /* For those with broken snprintf() */ |
95 | # undef HAVE_SNPRINTF | 95 | # undef HAVE_SNPRINTF |
@@ -788,7 +788,7 @@ int vsnprintf (char *str, size_t count, const char *fmt, va_list args) | |||
788 | #endif | 788 | #endif |
789 | 789 | ||
790 | #if !defined(HAVE_SNPRINTF) | 790 | #if !defined(HAVE_SNPRINTF) |
791 | int snprintf(char *str,size_t count,const char *fmt,...) | 791 | int snprintf(char *str, size_t count, SNPRINTF_CONST char *fmt, ...) |
792 | { | 792 | { |
793 | size_t ret; | 793 | size_t ret; |
794 | va_list ap; | 794 | va_list ap; |