OSDN Git Service

authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jun 1999 21:48:29 +0000 (21:48 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Jun 1999 21:48:29 +0000 (21:48 +0000)
        * 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

gcc/acconfig.h
gcc/system.h

index 68bee4f..d702b0e 100644 (file)
@@ -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
 
index 22b48ab..5d1adcd 100644 (file)
@@ -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