diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-05-04 23:25:47 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2005-05-04 23:25:47 +0000 |
commit | d8a99111ec892a197d8f282921ae8fe4639dbe15 (patch) | |
tree | d1aed5a060aa36abb9c9ea8b30a9774adeb355bf /bfd/sysdep.h | |
parent | 24ed1a73ce67b60d63653a63fe1ce7598c8ab185 (diff) | |
download | binutils-redhat-d8a99111ec892a197d8f282921ae8fe4639dbe15.tar.gz |
* sysdep.h (stpcpy): Wrap declaration in parentheses.
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r-- | bfd/sysdep.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h index a9ea6b41c9..d9469ef0b9 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 |