aboutsummaryrefslogtreecommitdiff
path: root/ld/sysdep.h
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/sysdep.h
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/sysdep.h')
-rw-r--r--ld/sysdep.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/sysdep.h b/ld/sysdep.h
index 4f0b604..4c5e994 100644
--- a/ld/sysdep.h
+++ b/ld/sysdep.h
@@ -77,19 +77,19 @@ extern char *strrchr ();
#include "fopen-same.h"
#endif
-#ifdef NEED_DECLARATION_STRSTR
+#if !HAVE_DECL_STRSTR
extern char *strstr ();
#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_ENVIRON
+#if !HAVE_DECL_ENVIRON
extern char **environ;
#endif