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
commit4a2a2686740b09cb3a7e2947f08ba8d638949329 (patch)
tree5e28c808bcc8aa2e68dccc6626f6cff5e7ccc85c /bfd/sysdep.h
parent5cfd5a0c98ac5b7526514b7d3764be9ce0714900 (diff)
downloadbinutils-gdb-4a2a2686740b09cb3a7e2947f08ba8d638949329.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 d9469ef0b93..a9ea6b41c94 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