From: Jim Meyering Date: Fri, 24 May 1996 02:45:38 +0000 (+0000) Subject: Define __P. X-Git-Tag: TEXTUTILS-1_14e~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afd4dcf3b2ba00ac635414b0b6a25e7e96a351a2;p=thirdparty%2Fcoreutils.git Define __P. --- 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));