aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_string.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-01-21 13:14:02 +0000
committerMark Kettenis <kettenis@gnu.org>2005-01-21 13:14:02 +0000
commita3828db05a4f4b107b8ab4210f5f7e882786a365 (patch)
treec537993ee89fe990bbf8d59312ab7f0c1b2eaa7a /gdb/gdb_string.h
parentb717d30eb550a5418757c32f232a01e7620f640d (diff)
downloadgdb-a3828db05a4f4b107b8ab4210f5f7e882786a365.zip
gdb-a3828db05a4f4b107b8ab4210f5f7e882786a365.tar.gz
gdb-a3828db05a4f4b107b8ab4210f5f7e882786a365.tar.bz2
* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
and BFD_NEED_DECLARATION. Don't check if a declaration of strdup is necessary. * configure, config.in: Regenerate. * utils.c: Adjust for usage of AC_CHECK_DECLS instead of BFD_NEED_DECLARATION. Never provide a prototype for caninicalize_file_name. * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of BFD_NEED_DECLARATION.
Diffstat (limited to 'gdb/gdb_string.h')
-rw-r--r--gdb/gdb_string.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h
index f54af80..4ccb500 100644
--- a/gdb/gdb_string.h
+++ b/gdb/gdb_string.h
@@ -1,5 +1,7 @@
/* Portable <string.h>
- Copyright 1995, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ Copyright 1995, 1998, 1999, 2000, 2001, 2004
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -52,15 +54,15 @@ extern int memcmp ();
#endif
#endif /* STDC_HEADERS */
-#ifdef NEED_DECLARATION_STRERROR
+#if !HAVE_DECL_STRERROR
#ifndef strerror
extern char *strerror (int); /* X3.159-1989 4.11.6.2 */
#endif
#endif
-#ifdef NEED_DECLARATION_STRSTR
+#if !HAVE_DECL_STRSTR
#ifndef strstr
-extern char *strstr (const char *, const char *); /* X3.159-1989 4.11.5.7 */
+extern char *strstr (const char *, const char *); /* X3.159-1989 4.11.5.7 */
#endif
#endif