Re: kernel guide to space

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

 



On 12/07/05 10:12 +0300, Denis Vlasenko wrote:
> > 3c. * in types
> > 	Leave space between name and * in types.
> > 	Multiple * dont need additional space between them.
> > 
> > 	struct foo **bar;
> 
> unless you declare a fuction:
> 
> int*
> function_style_for_easy_grep(...)
> {
> 	...
> }
> 
> I like this style because I can grep for ^function_style_for_easy_grep
> and quickly find function def.
> 

That's a pretty bad argument, since most functions aren't declared
that way, and there are much better source code navigational tools,
like cscope and ctags.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux