Re: [PATCH] old declaration ritchie style fix

From: Stefan Richter
Date: Fri May 25 2007 - 04:40:36 EST


Jiri Slaby wrote:
> Yoann Padioleau napsal(a):
>> static int
>> -receivepkt (target, buffer)
>> - int target;
>> - unsigned char *buffer;
>> +receivepkt (int target, unsigned char *buffer)
>
> When you are at it, you can also get rid of bsd return-type-on-its-own-line
> style

return-type-on-its-own-line is IMO OK if it occurs consistently in a
file. It can improve readability particularly if long return types are
combined with long function names.

> + remove the space before parenthesis.

Indeed.
--
Stefan Richter
-=====-=-=== -=-= ==--=
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/