summaryrefslogtreecommitdiffstats
path: root/source/lib/snprintf.c
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
commit13840704f5434bedef0ce21242e2dff7c2a0bddb (patch)
tree11dc6bbd07c28d25ff14a1670ddcd5efe35188d7 /source/lib/snprintf.c
parent83376671c511be4bb10d3fca8e49e5f6ef792b9c (diff)
downloadsamba-13840704f5434bedef0ce21242e2dff7c2a0bddb.tar.gz
samba-13840704f5434bedef0ce21242e2dff7c2a0bddb.tar.xz
samba-13840704f5434bedef0ce21242e2dff7c2a0bddb.zip
Ensure a prototype is generated for smb_snprintf()
Final bit for bug 187.
Diffstat (limited to 'source/lib/snprintf.c')
-rw-r--r--source/lib/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/snprintf.c b/source/lib/snprintf.c
index 1978067c374..a2f9f592db3 100644
--- a/source/lib/snprintf.c
+++ b/source/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;