This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] un-nest findidx()


On 07/25/2014 10:29 AM, Will Newton wrote:
> +#endif  /* weight.h */
> 
> Which I would usually expect to see as something like:
> 
> #endif /* !_WEIGHT_H_ */
> 
> But it's a small nit indeed...

I would immediately clean this up to !_WEIGHT_H_ if I saw
it in code, which means it's a part of our coding style and
should be adjusted to match existing style.

I like it because it immediately alerts you to the condition
that started the conditional.

Cheers,
Carlos.


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