[PATCH] missing declaration in libiberty.h
Jeff Baker
jbaker@qnx.com
Tue Aug 16 14:26:00 GMT 2005
include/libiberty.h seems to be missing a prototype for stpcpy, which is now
used in binutils/readelf.c.
2005-08-16 Jeff Baker <jbaker@qnx.com>
* libiberty.h (stpcpy): Prototype.
Index: libiberty.h
===================================================================
RCS file: /cvs/src/src/include/libiberty.h,v
retrieving revision 1.49
diff -c -p -r1.49 libiberty.h
*** libiberty.h 21 Jun 2005 00:28:25 -0000 1.49
--- libiberty.h 16 Aug 2005 14:21:37 -0000
*************** extern int vsnprintf (char *, size_t, co
*** 545,550 ****
--- 545,554 ----
extern int strverscmp (const char *, const char *);
#endif
+ #if !HAVE_DECL_STPCPY
+ extern char *stpcpy (char *__dest, const char *__src);
+ #endif
+
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
/* Drastically simplified alloca configurator. If we're using GCC,
More information about the Binutils
mailing list