From 0baace3504b780a13190ede6b171de802d686600 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Wed, 4 May 2005 23:25:47 +0000 Subject: [PATCH] * sysdep.h (stpcpy): Wrap declaration in parentheses. --- bfd/ChangeLog | 4 ++++ bfd/sysdep.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d8c1b8e7d2c..204ad1b302f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2005-05-05 Hans-Peter Nilsson + + * sysdep.h (stpcpy): Wrap declaration in parentheses. + 2005-05-04 H.J. Lu * elfxx-ia64.c (ARCH_SIZE): New. diff --git a/bfd/sysdep.h b/bfd/sysdep.h index a9ea6b41c94..d9469ef0b93 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 -- 2.30.2