Commit c928a49a c928a49a8bb48ece37fc3d17610d8a6fe43ef8d9 by Sergey Poznyakoff

Define __P() if necessary.

1 parent 2c58138c
...@@ -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
......