1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

Remove uses of PROTOTYPE macro.

This commit is contained in:
Jim Meyering
2003-04-17 07:36:24 +00:00
parent 22de99d217
commit 089e298e0c

View File

@@ -52,13 +52,8 @@
# include <sys/pty.h>
#endif
#include <getopt.h>
#if PROTOTYPES
# include <stdarg.h>
# define VA_START(args, lastarg) va_start(args, lastarg)
#else
# include <varargs.h>
# define VA_START(args, lastarg) va_start(args)
#endif
#include <stdarg.h>
#define VA_START(args, lastarg) va_start(args, lastarg)
#include "system.h"
#include "long-options.h"
@@ -459,13 +454,7 @@ static void wrapf (const char *message, ...)
/* VARARGS */
static void
#if PROTOTYPES
wrapf (const char *message,...)
#else
wrapf (message, va_alist)
const char *message;
va_dcl
#endif
{
va_list args;
char buf[1024]; /* Plenty long for our needs. */