From d3d5cc971dea7c956c4008a9ec8660eec497cdc4 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 24 Jun 1999 15:48:29 -0600 Subject: [PATCH] system.h (strstr): New external function declaration. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit � * 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 --- gcc/acconfig.h | 3 +++ gcc/system.h | 4 ++++ 2 files changed, 7 insertions(+) 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 is included. */ #undef NEED_DECLARATION_STRSIGNAL +/* Whether strstr must be declared even if is included. */ +#undef NEED_DECLARATION_STRSTR + /* Whether getcwd must be declared even if 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 -- 2.30.2