diff options
| author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-24 21:48:29 +0000 |
|---|---|---|
| committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-24 21:48:29 +0000 |
| commit | c80fcb0aa9f82cb3b881cfbae1bcac2e44fa69a6 (patch) | |
| tree | 29a32af3d3507f2c2db021df26d98b242e16a577 | |
| parent | c15af0eb5b862f205f505eade7174168736189b5 (diff) | |
| download | ppe42-gcc-c80fcb0aa9f82cb3b881cfbae1bcac2e44fa69a6.tar.gz ppe42-gcc-c80fcb0aa9f82cb3b881cfbae1bcac2e44fa69a6.zip | |
�
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27746 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/acconfig.h | 3 | ||||
| -rw-r--r-- | gcc/system.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h index 68bee4f7cbd..d702b0e0222 100644 --- a/gcc/acconfig.h +++ b/gcc/acconfig.h @@ -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 diff --git a/gcc/system.h b/gcc/system.h index 22b48ab723c..5d1adcd9ad6 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -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 |

