diff options
author | Jim Meyering <jim@meyering.net> | 1997-07-02 16:07:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-07-02 16:07:44 +0000 |
commit | 7a280a0fda5de513c99ffd782cb9cab39215c96b (patch) | |
tree | 8f2230f1f459b962dc773a0c0cbab86f6386f465 /src | |
parent | df0550601652162d647de466e8aa4230258952fb (diff) | |
download | coreutils-7a280a0fda5de513c99ffd782cb9cab39215c96b.tar.xz |
(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.
Diffstat (limited to 'src')
-rw-r--r-- | src/printf.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; \ |