projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b7bbe7
)
Define __P.
author
Jim Meyering
<jim@meyering.net>
Fri, 24 May 1996 02:45:38 +0000
(
02:45
+0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 24 May 1996 02:45:38 +0000
(
02:45
+0000)
lib/strtol.c
patch
|
blob
|
history
diff --git
a/lib/strtol.c
b/lib/strtol.c
index f31ac19e26d39b1a744877ffaac6d1d36c1a5067..2738ad8fa0d355147cf56c5e2caa65fa708bbb5d 100644
(file)
--- a/
lib/strtol.c
+++ b/
lib/strtol.c
@@
-340,6
+340,13
@@
noconv:
\f
/* 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));