projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a260b6
)
* sysdep.h (stpcpy): Wrap declaration in parentheses.
author
Hans-Peter Nilsson
<hp@axis.com>
Wed, 4 May 2005 23:25:47 +0000
(23:25 +0000)
committer
Hans-Peter Nilsson
<hp@axis.com>
Wed, 4 May 2005 23:25:47 +0000
(23:25 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/sysdep.h
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index d8c1b8e7d2ce8213655d7bd71070be31ae9f0e06..204ad1b302fc126985f7b6d6e8f8c91c2c1d0a67 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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.
diff --git
a/bfd/sysdep.h
b/bfd/sysdep.h
index a9ea6b41c9433e42e71833b7e0af50396040637b..d9469ef0b937418c57153236aa261e4723d825ae 100644
(file)
--- 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