]> git.ozlabs.org Git - ppp.git/commitdiff
include ppp_[un]register_compressor even if not compiling
authorPaul Mackerras <paulus@samba.org>
Fri, 14 May 1999 02:52:08 +0000 (02:52 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 14 May 1999 02:52:08 +0000 (02:52 +0000)
with modules.

linux/ppp.c

index 014da48d254b28e4fdfcdfdbf5e21c9e4c288706..7d2f144cc3f298c9541b6f0eca4877569e718bf8 100644 (file)
@@ -45,7 +45,7 @@
 
 #define PPP_MAX_RCV_QLEN       32      /* max # frames we queue up for pppd */
 
 
 #define PPP_MAX_RCV_QLEN       32      /* max # frames we queue up for pppd */
 
-/* $Id: ppp.c,v 1.28 1999/05/14 01:07:57 paulus Exp $ */
+/* $Id: ppp.c,v 1.29 1999/05/14 02:52:08 paulus Exp $ */
 
 #include <linux/version.h>
 #include <linux/config.h>
 
 #include <linux/version.h>
 #include <linux/config.h>
@@ -182,10 +182,8 @@ typedef size_t             rw_count_t;
  * Local functions
  */
 
  * Local functions
  */
 
-#ifdef CONFIG_MODULES
 static int ppp_register_compressor (struct compressor *cp);
 static void ppp_unregister_compressor (struct compressor *cp);
 static int ppp_register_compressor (struct compressor *cp);
 static void ppp_unregister_compressor (struct compressor *cp);
-#endif
 
 static void ppp_async_init(struct ppp *ppp);
 static void ppp_async_release(struct ppp *ppp);
 
 static void ppp_async_init(struct ppp *ppp);
 static void ppp_async_release(struct ppp *ppp);
@@ -3251,7 +3249,6 @@ static struct compressor *find_compressor (int type)
        return (struct compressor *) 0;
 }
 
        return (struct compressor *) 0;
 }
 
-#ifdef CONFIG_MODULES
 static int ppp_register_compressor (struct compressor *cp)
 {
        struct compressor_link *new;
 static int ppp_register_compressor (struct compressor *cp)
 {
        struct compressor_link *new;
@@ -3304,7 +3301,6 @@ static void ppp_unregister_compressor (struct compressor *cp)
        }
        restore_flags(flags);
 }
        }
        restore_flags(flags);
 }
-#endif
 
 /*************************************************************
  * Module support routines
 
 /*************************************************************
  * Module support routines