mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Use proper prototypes for snprintf, vsnprintf.
This commit is contained in:
parent
e83b33f844
commit
5c3281ad89
@ -1,3 +1,8 @@
|
||||
2009-09-24 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* sysdep.h: Use proper prototypes for snprintf, vsnprintf (thanks
|
||||
to Steven Schweda).
|
||||
|
||||
2009-09-24 Steven Schweda <sms@antinode.info>
|
||||
|
||||
* main.c (print_version): Remove VMS-conditional build info
|
||||
|
@ -216,10 +216,11 @@ void *memrchr (const void *, int, size_t);
|
||||
/* These are defined in snprintf.c. It would be nice to have an
|
||||
snprintf.h, though. */
|
||||
#ifndef HAVE_SNPRINTF
|
||||
int snprintf ();
|
||||
int snprintf (char *str, size_t count, const char *fmt, ...);
|
||||
#endif
|
||||
#ifndef HAVE_VSNPRINTF
|
||||
int vsnprintf ();
|
||||
#include <stdarg.h>
|
||||
int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
|
||||
#endif
|
||||
|
||||
/* Some systems (Linux libc5, "NCR MP-RAS 3.0", and others) don't
|
||||
|
Loading…
Reference in New Issue
Block a user