patch-2.4.7 linux/drivers/net/ppp_synctty.c

Next file: linux/drivers/net/pppoe.c
Previous file: linux/drivers/net/ppp_generic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/drivers/net/ppp_synctty.c linux/drivers/net/ppp_synctty.c
@@ -96,7 +96,7 @@
 static void ppp_sync_input(struct syncppp *ap, const unsigned char *buf,
 			   char *flags, int count);
 
-struct ppp_channel_ops sync_ops = {
+static struct ppp_channel_ops sync_ops = {
 	ppp_sync_send,
 	ppp_sync_ioctl
 };
@@ -365,7 +365,7 @@
 	write_wakeup: ppp_sync_wakeup,
 };
 
-int
+static int __init
 ppp_sync_init(void)
 {
 	int err;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)