Mercurial > hg > octave-lyh > gnulib-hg
changeset 620:1078d7ac00eb
Define __P.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 24 May 1996 02:45:38 +0000 |
parents | dbaeca6a1983 |
children | 3f2efbd8a096 |
files | lib/strtol.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/strtol.c +++ b/lib/strtol.c @@ -340,6 +340,13 @@ /* 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));