diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-09 00:39:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:40 -0500 |
commit | cf62ddce2ee137ff92ad11ae762338b864f1dee5 (patch) | |
tree | c0d0ffa576641a15c04f05cb83192ddfaffe8bd0 | |
parent | 0ce6e62bd6591777bd92873e2db93fdbc5228122 (diff) |
[PATCH] drivers/char/sysrq.c: make two functions static
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/char/sysrq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index feb25158c8ee..145275ebdd7e 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c | |||
@@ -354,7 +354,7 @@ struct sysrq_key_op *__sysrq_get_key_op (int key) { | |||
354 | return op_p; | 354 | return op_p; |
355 | } | 355 | } |
356 | 356 | ||
357 | void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p) { | 357 | static void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p) { |
358 | int i; | 358 | int i; |
359 | 359 | ||
360 | i = sysrq_key_table_key2index(key); | 360 | i = sysrq_key_table_key2index(key); |
@@ -419,7 +419,7 @@ void handle_sysrq(int key, struct pt_regs *pt_regs, struct tty_struct *tty) | |||
419 | __handle_sysrq(key, pt_regs, tty, 1); | 419 | __handle_sysrq(key, pt_regs, tty, 1); |
420 | } | 420 | } |
421 | 421 | ||
422 | int __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p, | 422 | static int __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p, |
423 | struct sysrq_key_op *remove_op_p) { | 423 | struct sysrq_key_op *remove_op_p) { |
424 | 424 | ||
425 | int retval; | 425 | int retval; |