aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2005-06-09 18:39:34 +0000
committerJim Wilson <wilson@tuliptree.org>2005-06-09 18:39:34 +0000
commit502bdb00ee094e41445a0d3458a2848f8adcca57 (patch)
tree34623b2353bc9f821f4472a246b1a53878ae16cf /ld/ldmain.c
parentf9ecb0a4402c67583df83bebec0c6ae3191e1e88 (diff)
downloadgdb-502bdb00ee094e41445a0d3458a2848f8adcca57.zip
gdb-502bdb00ee094e41445a0d3458a2848f8adcca57.tar.gz
gdb-502bdb00ee094e41445a0d3458a2848f8adcca57.tar.bz2
configure clean up patch from Steve Ellcey.
* configure.in (AM_BINUTILS_WARNINGS): Add. (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS. * config.in: Regenerate. * configure: Regenerate. * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_* * ldmain.c: Ditto.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 38c92d5..7e8bd92 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -50,7 +50,7 @@
#include <string.h>
#ifdef HAVE_SBRK
-#ifdef NEED_DECLARATION_SBRK
+#if !HAVE_DECL_SBRK
extern void *sbrk ();
#endif
#endif