This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <[email protected]>
---
This patch was already sent on:
- 3 Nov 2005
--- linux-2.6.14-rc5-mm1-full/drivers/char/sysrq.c.old 2005-11-03 16:37:52.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/char/sysrq.c 2005-11-03 16:38:54.000000000 +0100
@@ -378,7 +378,7 @@
return op_p;
}
-void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p) {
+static void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p) {
int i;
i = sysrq_key_table_key2index(key);
@@ -443,7 +443,7 @@
__handle_sysrq(key, pt_regs, tty, 1);
}
-int __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p,
+static int __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p,
struct sysrq_key_op *remove_op_p) {
int retval;
-
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]