Skip to contentSkip to conversation

*tiny* CodingStyle correction

PATCH New Jesper Juhl 1 participant 1 message Sep 26, 2005 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 *tiny* CodingStyle correction

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.

---

 Documentation/CodingStyle |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Documentation/CodingStyle +1 -1
@@ -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);