Skip to contentSkip to conversation

drivers/char/sysrq.c: make two functions static

PATCH New Adrian Bunk 1 participant 1 message Nov 7, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/char/sysrq.c: make two functions static

This patch makes two needlessly global functions static.

---

This patch was already sent on:
- 3 Nov 2005

drivers/char/sysrq.c renamed from drivers/char/sysrq.c.old +2 -2
@@ -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;