* [2.6 patch] drivers/char/sysrq.c: make two functions static
@ 2005-11-03 16:19 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-11-03 16:19 UTC (permalink / raw)
To: linux-kernel
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] drivers/char/sysrq.c: make two functions static
@ 2005-11-07 20:03 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-11-07 20:03 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-07 20:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 20:03 [2.6 patch] drivers/char/sysrq.c: make two functions static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-11-03 16:19 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox