aboutsummaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-05-04 23:25:47 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-05-04 23:25:47 +0000
commit0baace3504b780a13190ede6b171de802d686600 (patch)
tree6d7c2d87b3e64af2862cd953d736d93bed9024ef /bfd/sysdep.h
parent5a260b6644c4c449cc0635b9c6a5c0e29e342844 (diff)
downloadgdb-0baace3504b780a13190ede6b171de802d686600.zip
gdb-0baace3504b780a13190ede6b171de802d686600.tar.gz
gdb-0baace3504b780a13190ede6b171de802d686600.tar.bz2
* sysdep.h (stpcpy): Wrap declaration in parentheses.
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r--bfd/sysdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h
index a9ea6b4..d9469ef 100644
--- a/bfd/sysdep.h
+++ b/bfd/sysdep.h
@@ -126,7 +126,9 @@ extern PTR realloc ();
#endif
#if !HAVE_DECL_STPCPY
-extern char *stpcpy (char *__dest, const char *__src);
+/* 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);
#endif
#if !HAVE_DECL_STRSTR