* [PATCH] *tiny* CodingStyle correction
@ 2005-09-26 20:40 Jesper Juhl
0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2005-09-26 20:40 UTC (permalink / raw)
To: linux-kernel; +Cc: Linus Torvalds, Andrew Morton
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-26 20:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-26 20:40 [PATCH] *tiny* CodingStyle correction Jesper Juhl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®