From: Jim Meyering Date: Thu, 17 Apr 2003 07:36:24 +0000 (+0000) Subject: Remove uses of PROTOTYPE macro. X-Git-Tag: v5.0.1~673 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=089e298e0c63781b33554968610988214b56770e;p=thirdparty%2Fcoreutils.git Remove uses of PROTOTYPE macro. --- diff --git a/src/stty.c b/src/stty.c index 8c90b12e8b..7f7d4ae19f 100644 --- a/src/stty.c +++ b/src/stty.c @@ -52,13 +52,8 @@ # include #endif #include -#if PROTOTYPES -# include -# define VA_START(args, lastarg) va_start(args, lastarg) -#else -# include -# define VA_START(args, lastarg) va_start(args) -#endif +#include +#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. */