summaryrefslogtreecommitdiff
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
commita14a91c7366c6de3405e92d02976a7a9e29e5126 (patch)
treeedd496b900408a46d0072b1172dd65de4b70e63f /bfd/sysdep.h
parentf15b411e626943e33dfb35ce74c6cffe53b37169 (diff)
downloadgdb-a14a91c7366c6de3405e92d02976a7a9e29e5126.tar.gz
* 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 b3c917f0528..d51ebfa13a4 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