]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove uses of PROTOTYPE macro.
authorJim Meyering <jim@meyering.net>
Thu, 17 Apr 2003 07:36:24 +0000 (07:36 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 17 Apr 2003 07:36:24 +0000 (07:36 +0000)
src/stty.c

index 8c90b12e8b535564bb249252ac522dfe447cddab..7f7d4ae19f2d245d4559f788cc330fc5cde40ff9 100644 (file)
 # 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. */