Commit d3d5cc97 by Jeff Law

system.h (strstr): New external function declaration.

�
        * system.h (strstr): New external function declaration.
        * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
        * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
        * config.in, configure: Rebuilt.

From-SVN: r27746
parent 8607048d
......@@ -93,6 +93,9 @@
/* Whether strsignal must be declared even if <string.h> is included. */
#undef NEED_DECLARATION_STRSIGNAL
/* Whether strstr must be declared even if <string.h> is included. */
#undef NEED_DECLARATION_STRSTR
/* Whether getcwd must be declared even if <unistd.h> is included. */
#undef NEED_DECLARATION_GETCWD
......
......@@ -333,6 +333,10 @@ extern char *getwd ();
extern char *sbrk ();
#endif
#ifdef NEED_DECLARATION_STRSTR
extern char *strstr ();
#endif
#ifdef HAVE_STRERROR
# ifdef NEED_DECLARATION_STRERROR
# ifndef strerror
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment