[PATCH] *tiny* CodingStyle correction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
---

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux