* sysdep.h (stpcpy): Wrap declaration in parentheses.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 4 May 2005 23:25:47 +0000 (23:25 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 4 May 2005 23:25:47 +0000 (23:25 +0000)
bfd/ChangeLog
bfd/sysdep.h

index d8c1b8e..204ad1b 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-05  Hans-Peter Nilsson  <hp@axis.com>
+
+       * sysdep.h (stpcpy): Wrap declaration in parentheses.
+
 2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elfxx-ia64.c (ARCH_SIZE): New.
index a9ea6b4..d9469ef 100644 (file)
@@ -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