]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
system.h (strstr): New external function declaration.
authorJeff Law <law@gcc.gnu.org>
Thu, 24 Jun 1999 21:45:44 +0000 (15:45 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 24 Jun 1999 21:45:44 +0000 (15:45 -0600)

        * 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: r27743

gcc/acconfig.h
gcc/system.h

index 68bee4f7cbdb621ec728c251565171059c9cbe84..d702b0e0222e83d2a776e3d0967da2fe4984541c 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 22b48ab723c4d5ea09af219403f8bdc2f826651b..5d1adcd9ad670c647f697d5e3289bc61a4736cf8 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