patch-2.4.7 linux/drivers/net/bsd_comp.c
Next file: linux/drivers/net/de600.c
Previous file: linux/drivers/net/auto_irq.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Jul 15 16:22:23 2001
- Orig file:
v2.4.6/linux/drivers/net/bsd_comp.c
- Orig date:
Tue Feb 13 13:15:04 2001
diff -u --recursive --new-file v2.4.6/linux/drivers/net/bsd_comp.c linux/drivers/net/bsd_comp.c
@@ -185,7 +185,7 @@
static int bsd_decompress (void *state, unsigned char *ibuf, int isize,
unsigned char *obuf, int osize);
-/* These are in ppp.c */
+/* These are in ppp_generic.c */
extern int ppp_register_compressor (struct compressor *cp);
extern void ppp_unregister_compressor (struct compressor *cp);
@@ -1158,7 +1158,7 @@
* Module support routines
*************************************************************/
-int bsdcomp_init(void)
+int __init bsdcomp_init(void)
{
int answer = ppp_register_compressor(&ppp_bsd_compress);
if (answer == 0)
@@ -1166,7 +1166,7 @@
return answer;
}
-void bsdcomp_cleanup(void)
+void __exit bsdcomp_cleanup(void)
{
ppp_unregister_compressor(&ppp_bsd_compress);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)