summaryrefslogtreecommitdiff
path: root/binutils/bucomm.h
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2005-07-01 15:19:47 +0000
committerSteve Ellcey <sje@cup.hp.com>2005-07-01 15:19:47 +0000
commit398ee8f162e94e0808230e60ea153d16de7755b0 (patch)
tree986df224d87b1c277426ea29075c589390abc175 /binutils/bucomm.h
parentbba93f6c2ce393e9c3c02ef3f518b242f62e2b55 (diff)
downloadbinutils-gdb-398ee8f162e94e0808230e60ea153d16de7755b0.tar.gz
* 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.
Diffstat (limited to 'binutils/bucomm.h')
-rw-r--r--binutils/bucomm.h8
1 files changed, 4 insertions, 4 deletions
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