summaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-05-05 03:42:02 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-05-05 03:42:02 +0000
commite6db147b6c1e5309da084543e80935a3f31fd5b4 (patch)
tree9d7de99905a1a2a3df1b0199059ffd21f4149ec1 /bfd/sysdep.h
parent73b9ec47ffc35303c4258439799379c377bb8506 (diff)
downloadbinutils-redhat-e6db147b6c1e5309da084543e80935a3f31fd5b4.tar.gz
* Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here.
* configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC. * configure, config.in, Makefile.in: Regenerate. * sysdep.h (stpcpy): Revert last change.
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r--bfd/sysdep.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index d9469ef0b9..a9ea6b41c9 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -126,9 +126,7 @@ extern PTR realloc ();
#endif
#if !HAVE_DECL_STPCPY
-/* With glibc, not exposed without -D__USE_GNU, but some old versions
- (2.2.5-34 on RH 7.3) still expose the macro. */
-extern char *(stpcpy) (char *__dest, const char *__src);
+extern char *stpcpy (char *__dest, const char *__src);
#endif
#if !HAVE_DECL_STRSTR