aboutsummaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
authorJerome Guitton <guitton@adacore.com>2005-04-22 13:58:14 +0000
committerJerome Guitton <guitton@adacore.com>2005-04-22 13:58:14 +0000
commitd34a2b1dc9d8e59c41f630002ffa70c4de1100f9 (patch)
tree1f4e60903ebe18edbee2dd319b3c329aeb15f3c3 /bfd/sysdep.h
parent0abb7bc72fc039cd73a8bbb558ad21b17a872d44 (diff)
downloadgdb-d34a2b1dc9d8e59c41f630002ffa70c4de1100f9.zip
gdb-d34a2b1dc9d8e59c41f630002ffa70c4de1100f9.tar.gz
gdb-d34a2b1dc9d8e59c41f630002ffa70c4de1100f9.tar.bz2
* configure.in: Replace BFD_NEED_DECLARATION checks by the
corresponding AC_CHECK_DECLS. * sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding HAVE_DECL_*. * bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete. * configure: Regenerate. * config.in: Ditto.
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r--bfd/sysdep.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index b3c917f..d51ebfa 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -105,27 +105,27 @@ extern char *strrchr ();
#include "filenames.h"
-#ifdef NEED_DECLARATION_FFS
+#if !HAVE_DECL_FFS
extern int ffs (int);
#endif
-#ifdef NEED_DECLARATION_FREE
+#if !HAVE_DECL_FREE
extern void free ();
#endif
-#ifdef NEED_DECLARATION_GETENV
+#if !HAVE_DECL_GETENV
extern char *getenv ();
#endif
-#ifdef NEED_DECLARATION_MALLOC
+#if !HAVE_DECL_MALLOC
extern PTR malloc ();
#endif
-#ifdef NEED_DECLARATION_REALLOC
+#if !HAVE_DECL_REALLOC
extern PTR realloc ();
#endif
-#ifdef NEED_DECLARATION_STRSTR
+#if !HAVE_DECL_STRSTR
extern char *strstr ();
#endif