[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20060728085315.GA14622@elte.hu>
Date: Fri, 28 Jul 2006 10:53:15 +0200
From: Ingo Molnar <mingo@...e.hu>
To: James Morris <jmorris@...ei.org>
Cc: Alexey Dobriyan <adobriyan@...il.com>,
Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org
Subject: Re: [patch] ipc/msg.c: clean up coding style
* James Morris <jmorris@...ei.org> 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists