summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1999-05-14 02:52:08 +0000
committerPaul Mackerras <paulus@samba.org>1999-05-14 02:52:08 +0000
commitf96f331f439e95a21c332208bc8e87d4b5ecf77b (patch)
treeed2ef0d653d256486d246f3fefa4f83d128c0665 /linux
parentd350bee6928479a18c9351818c55ceed53fd6dba (diff)
include ppp_[un]register_compressor even if not compiling
with modules.
Diffstat (limited to 'linux')
-rw-r--r--linux/ppp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/linux/ppp.c b/linux/ppp.c
index 014da48..7d2f144 100644
--- a/linux/ppp.c
+++ b/linux/ppp.c
@@ -45,7 +45,7 @@
#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>
@@ -182,10 +182,8 @@ typedef size_t rw_count_t;
* Local functions
*/
-#ifdef CONFIG_MODULES
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);
@@ -3251,7 +3249,6 @@ static struct compressor *find_compressor (int type)
return (struct compressor *) 0;
}
-#ifdef CONFIG_MODULES
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);
}
-#endif
/*************************************************************
* Module support routines