Ensure a prototype is generated for smb_snprintf()
authorTim Potter <tpot@samba.org>
Wed, 23 Jul 2003 23:30:46 +0000 (23:30 +0000)
committerTim Potter <tpot@samba.org>
Wed, 23 Jul 2003 23:30:46 +0000 (23:30 +0000)
Final bit for bug 187.
(This used to be commit 13840704f5434bedef0ce21242e2dff7c2a0bddb)

source3/lib/snprintf.c

index 1978067c374b820096039863ac9f2602aa349159..a2f9f592db3e04f93d24f2b25f6399b1f8f59caa 100644 (file)
@@ -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;