From 7a280a0fda5de513c99ffd782cb9cab39215c96b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 2 Jul 1997 16:07:44 +0000 Subject: (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. --- src/printf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/printf.c') diff --git a/src/printf.c b/src/printf.c index 65c8f94e1..0a1c89b19 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; \ -- cgit v1.2.3-70-g09d2