[-mm patch] make sysrq_always_enabled_setup() static

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

 



On Mon, Dec 11, 2006 at 12:58:07AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.19-rc6-mm2:
>...
> +debug-add-sysrq_always_enabled-boot-option.patch
>...
>  Misc updates
>...

This patch makes the needlessly global sysrq_always_enabled_setup() 
static.
 
Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.19-mm1/drivers/char/sysrq.c.old	2006-12-11 17:46:54.000000000 +0100
+++ linux-2.6.19-mm1/drivers/char/sysrq.c	2006-12-11 17:47:01.000000000 +0100
@@ -59,7 +59,7 @@
 						(__sysrq_enabled & mask);
 }
 
-int __init sysrq_always_enabled_setup(char *str)
+static int __init sysrq_always_enabled_setup(char *str)
 {
 	sysrq_always_enabled = 1;
 	printk(KERN_INFO "debug: sysrq always enabled.\n");

-
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]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux