[patch] libiberty/strdup.c: Constify the argument.
Kazu Hirata
kazu@cs.umass.edu
Thu Jan 15 16:26:00 GMT 2004
Hi DJ,
> > error: argument "s" doesn't match prototype
>
> What prototype? If there's a prototype, strdup.c shouldn't have been
> compiled - unless the runtime is broken?
Hmm. I can't find one... The GCC with Zack's patch would say the
same with or without const, so the error may be a bug in Zack's patch.
> > * strdup.c (strdup): Consitify the argument.
>
> Ok.
Thanks.
Kazu Hirata
More information about the Gcc-patches
mailing list