Define __P() if necessary.
Showing
1 changed file
with
8 additions
and
0 deletions
... | @@ -76,6 +76,14 @@ char *alloca (); | ... | @@ -76,6 +76,14 @@ char *alloca (); |
76 | #include "argp-fmtstream.h" | 76 | #include "argp-fmtstream.h" |
77 | #include "argp-namefrob.h" | 77 | #include "argp-namefrob.h" |
78 | 78 | ||
79 | #ifndef __P | ||
80 | # if defined PROTOTYPES || (defined __STDC__ && __STDC__) | ||
81 | # define __P(Args) Args | ||
82 | # else | ||
83 | # define __P(Args) () | ||
84 | # endif | ||
85 | #endif | ||
86 | |||
79 | #if !HAVE_DECL_STRCHRNUL | 87 | #if !HAVE_DECL_STRCHRNUL |
80 | extern char *strchrnul __P((const char *s, int c_in)); | 88 | extern char *strchrnul __P((const char *s, int c_in)); |
81 | #endif | 89 | #endif | ... | ... |
-
Please register or sign in to post a comment