This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] libiberty/strdup.c: Constify the argument.


> This was caught while I was building h8300-hms with Zack's c-decl.c
> rewrite patch.  The patched GCC said
> 
>   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?

> 2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
> 
> 	* strdup.c (strdup): Consitify the argument.

Ok.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]