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

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

diff -u --recursive --new-file v2.4.6/linux/drivers/net/ppp_async.c linux/drivers/net/ppp_async.c
@@ -96,7 +96,7 @@
 static void async_lcp_peek(struct asyncppp *ap, unsigned char *data,
 			   int len, int inbound);
 
-struct ppp_channel_ops async_ops = {
+static struct ppp_channel_ops async_ops = {
 	ppp_async_send,
 	ppp_async_ioctl
 };
@@ -308,7 +308,7 @@
 	write_wakeup: ppp_asynctty_wakeup,
 };
 
-int
+static int __init
 ppp_async_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)