diff options
author | Jerome Guitton <guitton@adacore.com> | 2005-04-22 13:58:14 +0000 |
---|---|---|
committer | Jerome Guitton <guitton@adacore.com> | 2005-04-22 13:58:14 +0000 |
commit | 415ff996aeeb948776ca05af5c1aee5dd088f291 (patch) | |
tree | 77f1d5d1a148f148d0d1c0878a1632d609877d08 /bfd/sysdep.h | |
parent | c3cd9a58506b70808450ef37b9341a446387c5ec (diff) | |
download | binutils-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.h | 12 |
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 |