[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sys_errlist (Re: gcc (Re: porting?))
On 13 Feb 1998, Andreas Schwab wrote:
> Mikko Larjava <mitala@nic.funet.fi> writes:
>
> |> Declare strerror() as
>
> |> const char *strerror(int)
>
> You can't, the standard says `char *strerror(int)'. The only option we
> have is to throw in a cast.
Alright; I'll use a cast to make the return type the same as
specified in the function definition. (Namely: char *)
Yves
__
When the trees are seen to be moving, the enemy is advancing.
Sun Tzu 9:20