From: Jim Meyering Date: Wed, 2 Jul 1997 16:07:44 +0000 (+0000) Subject: (STRTOX): Convert function header in macro definition X-Git-Tag: SH-UTILS-1_16c~129 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a280a0fda5de513c99ffd782cb9cab39215c96b;p=thirdparty%2Fcoreutils.git (STRTOX): Convert function header in macro definition to K&R-style. Otherwise, ansi2knr would fail to convert the function definitions to K&R for old style compilers. From Kaveh Ghazi. --- diff --git a/src/printf.c b/src/printf.c index 65c8f94e16..0a1c89b190 100644 --- a/src/printf.c +++ b/src/printf.c @@ -143,7 +143,8 @@ verify (const char *s, const char *end) #define STRTOX(TYPE, FUNC_NAME, LIB_FUNC_EXPR) \ static TYPE \ -FUNC_NAME (const char *s) \ +FUNC_NAME (s) \ + const char *s; \ { \ char *end; \ TYPE val; \