diff options
author | Jim Meyering <jim@meyering.net> | 1996-05-24 02:45:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-05-24 02:45:38 +0000 |
commit | afd4dcf3b2ba00ac635414b0b6a25e7e96a351a2 (patch) | |
tree | f8f56432eeb972aff52a030b113c8a7567d0b321 | |
parent | 9b7bbe7b0b4acd7f59aa4151a26bca0e6e556d43 (diff) | |
download | coreutils-afd4dcf3b2ba00ac635414b0b6a25e7e96a351a2.tar.xz |
Define __P.
-rw-r--r-- | lib/strtol.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/strtol.c b/lib/strtol.c index f31ac19e2..2738ad8fa 100644 --- a/lib/strtol.c +++ b/lib/strtol.c @@ -340,6 +340,13 @@ noconv: /* External user entry point. */ +#undef __P +#if defined (__STDC__) && __STDC__ +#define __P(args) args +#else +#define __P(args) () +#endif + /* Prototype. */ INT WEAKNAME (strtol) __P ((const STRING_TYPE *nptr, STRING_TYPE **endptr, int base)); |