From 398ee8f162e94e0808230e60ea153d16de7755b0 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Fri, 1 Jul 2005 15:19:47 +0000 Subject: * configure.in (AM_BINUTILS_WARNINGS): Add. (BFD_NEED_DECLARATION): Replace with AC_CHECK_DECLS. * configure: Regenerate. * config.in: Regenerate. * objdump.c (NEED_DECLARATION_*): Replace with !HAVE_DECL_*. * bucomm.h: (NEED_DECLARATION_*): Ditto. --- binutils/bucomm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'binutils/bucomm.h') diff --git a/binutils/bucomm.h b/binutils/bucomm.h index 863964611ca..df89ea5b00b 100644 --- a/binutils/bucomm.h +++ b/binutils/bucomm.h @@ -72,21 +72,21 @@ extern char *strrchr (); #endif #endif -#ifdef NEED_DECLARATION_STRSTR +#if !HAVE_DECL_STRSTR extern char *strstr (); #endif #ifdef HAVE_SBRK -#ifdef NEED_DECLARATION_SBRK +#if !HAVE_DECL_SBRK extern char *sbrk (); #endif #endif -#ifdef NEED_DECLARATION_GETENV +#if !HAVE_DECL_GETENV extern char *getenv (); #endif -#ifdef NEED_DECLARATION_ENVIRON +#if !HAVE_DECL_ENVIRON extern char **environ; #endif -- cgit v1.2.1