PATCH: Check stpcpy for readelf.c

Ian Lance Taylor ian@airs.com
Tue Aug 16 19:15:00 GMT 2005


"H. J. Lu" <hjl@lucon.org> writes:

> 2005-08-13  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	* bucomm.h (stpcpy): Declare if HAVE_DECL_STPCPY isn't defined.
> 
> 	* configure.in (AC_GNU_SOURCE): Added.
> 	(AC_CHECK_DECLS): Add stpcpy.
> 	* configure: Regenerated.
> 	* config.in: Likewise.

This is OK if you change this line:

> +extern char *stpcpy (char *__dest, const char *__src);

to not use any parameter names:

extern char *stpcpy (char *, const char *);

Thanks.

Ian



More information about the Binutils mailing list