Skip to content

Commit

Permalink
[PATCH] drivers/char/sysrq.c: make two functions static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Nov 9, 2005
1 parent 0ce6e62 commit cf62ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/sysrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ struct sysrq_key_op *__sysrq_get_key_op (int key) {
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);
Expand Down Expand Up @@ -419,7 +419,7 @@ void handle_sysrq(int key, struct pt_regs *pt_regs, struct tty_struct *tty)
__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;
Expand Down

0 comments on commit cf62ddc

Please sign in to comment.