Skip to contentSkip to conversation

make drivers/char/mxser_new.c:mxser_hangup() static

PATCH New Adrian Bunk 1 participant 1 message Dec 18, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make drivers/char/mxser_new.c:mxser_hangup() static

This patch makes the needlessly global mxser_hangup() static.

drivers/char/mxser_new.c renamed from drivers/char/mxser_new.c.old +1 -1
@@ -2066,7 +2066,7 @@
 /*
  * This routine is called by tty_hangup() when a hangup is signaled.
  */
-void mxser_hangup(struct tty_struct *tty)
+static void mxser_hangup(struct tty_struct *tty)
 {
 	struct mxser_port *info = tty->driver_data;