From: Jesper Juhl <jesper.juhl@gmail.com>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Cc: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
Subject: [PATCH] *tiny* CodingStyle correction
Date: Mon, 26 Sep 2005 22:40:53 +0200 [thread overview]
Message-ID: <200509262240.53212.jesper.juhl@gmail.com> (raw)
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);
reply other threads:[~2005-09-26 20:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200509262240.53212.jesper.juhl@gmail.com \
--to=jesper.juhl@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®