[2.6 patch] drivers/char/sysrq.c: make two functions static

From: Adrian Bunk
Date: Mon Nov 07 2005 - 15:07:36 EST


This patch makes two needlessly global functions static.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

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