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 | 17c148bcce90f67efc49acb458aee50ef39d09db (patch) | |
tree | 8a8cabbbd0380a46f8da08bc7fb351c60067d039 /lib/strtol.c | |
parent | 7f7c69fa196a129f306790690f55a059f750d1de (diff) | |
download | gnulib-17c148bcce90f67efc49acb458aee50ef39d09db.tar.gz |
Define __P.
Diffstat (limited to 'lib/strtol.c')
-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 f31ac19e26..2738ad8fa0 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)); |