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
commit415ff996aeeb948776ca05af5c1aee5dd088f291 (patch)
tree77f1d5d1a148f148d0d1c0878a1632d609877d08 /bfd/sysdep.h
parentc3cd9a58506b70808450ef37b9341a446387c5ec (diff)
downloadbinutils-redhat-415ff996aeeb948776ca05af5c1aee5dd088f291.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 b3c917f052..d51ebfa13a 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