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

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

diff -u --recursive --new-file v2.4.6/linux/drivers/net/ppp_deflate.c linux/drivers/net/ppp_deflate.c
@@ -598,7 +598,7 @@
  * Module interface table
  *************************************************************/
 
-/* 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);
 
@@ -639,7 +639,7 @@
 	z_comp_stats,		/* decomp_stat */
 };
 
-int deflate_init(void)
+int __init deflate_init(void)
 {  
         int answer = ppp_register_compressor(&ppp_deflate);
         if (answer == 0)
@@ -649,7 +649,7 @@
         return answer;
 }
      
-void deflate_cleanup(void)
+void __exit deflate_cleanup(void)
 {
 	ppp_unregister_compressor(&ppp_deflate);
 	ppp_unregister_compressor(&ppp_deflate_draft);

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