Skip to contentSkip to conversation

drivers/char/keyboard.c: make a function static

PATCH New Adrian Bunk 1 participant 1 message Apr 17, 2005 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/char/keyboard.c: make a function static

This patch makes a needlessly globbal function static.

drivers/char/keyboard.c renamed from drivers/char/keyboard.c.old +2 -1
@@ -1026,7 +1026,8 @@
 		put_queue(vc, data);
 }
 
-void kbd_keycode(unsigned int keycode, int down, int hw_raw, struct pt_regs *regs)
+static void kbd_keycode(unsigned int keycode, int down,
+			int hw_raw, struct pt_regs *regs)
 {
 	struct vc_data *vc = vc_cons[fg_console].d;
 	unsigned short keysym, *key_map;