diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-01-21 13:14:02 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-01-21 13:14:02 +0000 |
commit | 6dc01d7c3a2358b28e8a85b45e571fc02e72c5bb (patch) | |
tree | 0344bfa45baf1bd1d1882cc86ab8438a5f6a5c3c /gdb/gdb_string.h | |
parent | b19aa7add36e1771981de4302657276a705405ca (diff) | |
download | gdb-6dc01d7c3a2358b28e8a85b45e571fc02e72c5bb.tar.gz |
* 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.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h index f54af80845c..4ccb500bba5 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 |