From b32da5a1c78d3d5ca2a9afa0dfa1d2dfd6eb550c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 23 Jul 2003 23:30:46 +0000 Subject: Ensure a prototype is generated for smb_snprintf() Final bit for bug 187. (This used to be commit 13840704f5434bedef0ce21242e2dff7c2a0bddb) --- source3/lib/snprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/snprintf.c') diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c index 1978067c37..a2f9f592db 100644 --- a/source3/lib/snprintf.c +++ b/source3/lib/snprintf.c @@ -826,7 +826,7 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c) * that doesn't work properly according to the autoconf test. */ #if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF) - int smb_snprintf(char *str,size_t count,const char *fmt,...) +int smb_snprintf(char *str,size_t count,const char *fmt,...) { size_t ret; va_list ap; -- cgit