Re: Question about style when converting from K&R to ANSI C.

From: Jonathan Lundell (
Date: Sun Jun 01 2003 - 11:04:22 EST

At 7:06am -0700 6/1/03, Larry McVoy wrote:
>It may be just what you are used to but I also find that when reading lots
>of code it is nice to have it look like
>return type
>because the function_name() stands out more, it's always at the left side so
>I tend to parse it a little more quickly.

The reason I've liked this format is that it gives me a quick and
universal way to find *specific* functions with vi or grep, by
searching for "^function_name(".

I'm less concerned with global function searches; there I don't mind
the overhead of more sophisticated tools.

When we're done with this thread, perhaps we can return to endian arguments....

/Jonathan Lundell.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:14 EST