diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-28 12:04:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-28 12:04:34 +0000 |
commit | 838c5c485ffba94a1c74a4556e3e4a2b16020923 (patch) | |
tree | edbd5f8a0fa8451c9cf3f709f91070c70d3cb173 /source3/lib | |
parent | fb15277b5e4064432feb79f37f010c792cee1634 (diff) | |
download | samba-838c5c485ffba94a1c74a4556e3e4a2b16020923.tar.gz samba-838c5c485ffba94a1c74a4556e3e4a2b16020923.tar.bz2 samba-838c5c485ffba94a1c74a4556e3e4a2b16020923.zip |
fixed problem with snprintf.c and mkproto
(This used to be commit 99430ce899c02b95ab3c577afff7f28c6d5c6c45)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/snprintf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/snprintf.c b/source3/lib/snprintf.c index d51627a1e3..467f914244 100644 --- a/source3/lib/snprintf.c +++ b/source3/lib/snprintf.c @@ -707,7 +707,7 @@ static void dopr_outch (char *buffer, size_t *currlen, size_t maxlen, char c) #endif /* !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) */ #ifndef HAVE_VSNPRINTF -int vsnprintf (char *str, size_t count, const char *fmt, va_list args) + int vsnprintf (char *str, size_t count, const char *fmt, va_list args) { str[0] = 0; dopr(str, count, fmt, args); @@ -718,9 +718,9 @@ int vsnprintf (char *str, size_t count, const char *fmt, va_list args) #ifndef HAVE_SNPRINTF /* VARARGS3 */ #ifdef HAVE_STDARGS -int snprintf (char *str,size_t count,const char *fmt,...) + int snprintf (char *str,size_t count,const char *fmt,...) #else -int snprintf (va_alist) va_dcl + int snprintf (va_alist) va_dcl #endif { #ifndef HAVE_STDARGS @@ -749,7 +749,7 @@ int snprintf (va_alist) va_dcl #ifndef LONG_STRING #define LONG_STRING 1024 #endif -int main (void) + int main (void) { char buf1[LONG_STRING]; char buf2[LONG_STRING]; |