Messages in this thread Patch in this message |  | | | From | Jesper Juhl <> | | Subject | [PATCH] *tiny* CodingStyle correction | | Date | Mon, 26 Sep 2005 22:40:53 +0200 |
| |
CodingStyle is supposed to set a good example, so int fun(int ) doesn't look too good ;-)
I considered both int fun(void) and int fun(int a) as replacements, and settled on the last.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> --- Documentation/CodingStyle | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.14-rc2-git3-orig/Documentation/CodingStyle 2005-09-22 00:27:53.000000000 +0200 +++ linux-2.6.14-rc2-git3/Documentation/CodingStyle 2005-09-26 22:36:37.000000000 +0200 @@ -199,7 +199,7 @@ modifications are prevented - saves the compiler work to optimize redundant code away ;) -int fun(int ) +int fun(int a) { int result = 0; char *buffer = kmalloc(SIZE);
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |