Mercurial > gnulib
changeset 20311:4c26d7d5fa6a
Define __P.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 24 May 1996 02:45:38 +0000 |
parents | e560f7b02ab9 |
children | e046c801b312 |
files | lib/strtol.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/strtol.c Thu May 23 13:04:41 1996 +0000 +++ b/lib/strtol.c Fri May 24 02:45:38 1996 +0000 @@ -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));