Re: [patch] ipc/msg.c: clean up coding style

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

 



* James Morris <[email protected]> wrote:

> On Thu, 27 Jul 2006, Ingo Molnar wrote:
> 
> > > Let's not go BSD way.
> > 
> > again, lets not have overlong line 80 prototypes.
> 
> I thought Linus gave his blessing for long lines for prototypes (up to 
> 120 chars?), to make it easier to grep the code for function 
> prototypes.

i think that's a tool issue. If you need multiline grep, use the 'mg' 
perl-script from:

  http://freshmeat.net/projects/mg_multi_line_grep/

for example, to see all syscall prototypes in kernel/*.c:

  mg -e "asmlinkage.*\n*.*sys.*\n*.*{" kernel/*.c

	Ingo
-
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]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux