summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-23 23:30:46 +0000
committerTim Potter <tpot@samba.org>2003-07-23 23:30:46 +0000
commitb32da5a1c78d3d5ca2a9afa0dfa1d2dfd6eb550c (patch)
treeed257495b5756998f0caa5a867e0efa64067f10e
parent3a00cedc0107730876f5bb7626db31d253f9df8b (diff)
downloadsamba-b32da5a1c78d3d5ca2a9afa0dfa1d2dfd6eb550c.tar.gz
samba-b32da5a1c78d3d5ca2a9afa0dfa1d2dfd6eb550c.tar.bz2
samba-b32da5a1c78d3d5ca2a9afa0dfa1d2dfd6eb550c.zip
Ensure a prototype is generated for smb_snprintf()
Final bit for bug 187. (This used to be commit 13840704f5434bedef0ce21242e2dff7c2a0bddb)
-rw-r--r--source3/lib/snprintf.c2
1 files changed, 1 insertions, 1 deletions
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;