Skip to contentSkip to conversation

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

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

lore
Share & tools
lore
#0 lore raw

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

This patch makes a needlessly global function static.

---

This patch was already sent on:
- 17 Apr 2005

drivers/char/stallion.c renamed from drivers/char/stallion.c.old +2 -2
@@ -466,7 +466,7 @@
 
 static unsigned long stl_atol(char *str);
 
-int		stl_init(void);
+static int	stl_init(void);
 static int	stl_open(struct tty_struct *tty, struct file *filp);
 static void	stl_close(struct tty_struct *tty, struct file *filp);
 static int	stl_write(struct tty_struct *tty, const unsigned char *buf, int count);
@@ -3063,7 +3063,7 @@
 
 /*****************************************************************************/
 
-int __init stl_init(void)
+static int __init stl_init(void)
 {
 	int i;
 	printk(KERN_INFO "%s: version %s\n", stl_drvtitle, stl_drvversion);