[PATCH] *tiny* CodingStyle correction

From: Jesper Juhl
Date: Mon Sep 26 2005 - 15:39:02 EST


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@xxxxxxxxx>
---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/