Skip to contentSkip to conversation

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

PATCH New Adrian Bunk 1 participant 1 message Dec 5, 2004 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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

The patch below makes a needlessly global function static.

drivers/char/tty_ioctl.c renamed from drivers/char/tty_ioctl.c.old +1 -1
@@ -372,7 +372,7 @@
 /*
  * Send a high priority character to the tty.
  */
-void send_prio_char(struct tty_struct *tty, char ch)
+static void send_prio_char(struct tty_struct *tty, char ch)
 {
 	int	was_stopped = tty->stopped;