Re: [PATCH 01/02] ident.c: Use const qualifier when possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andy Parkins <andyparkins@xxxxxxxxx> writes:

> On Sunday 2007, April 15, Luiz Fernando N. Capitulino wrote:
>
>> -static const char *env_hint =
>> +static const char const *env_hint =
>
> You can see then that
>
>  const char const *env_hint
>
> is redundant, it's simply saying twice that (*env_hint) is const.

I think he wanted to say

	static const char *const env_hint = ...



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]