summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-04-17 07:36:24 +0000
committerJim Meyering <jim@meyering.net>2003-04-17 07:36:24 +0000
commit089e298e0c63781b33554968610988214b56770e (patch)
treed21888d9dc7c12422c2ebf6d8e18183bef0c2211 /src/stty.c
parent22de99d21702dfdd46ff5dd16411221c9b086c2e (diff)
downloadcoreutils-089e298e0c63781b33554968610988214b56770e.tar.gz
Remove uses of PROTOTYPE macro.
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/stty.c b/src/stty.c
index 8c90b12e8..7f7d4ae19 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -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. */