This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Check stpcpy for readelf.c
"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