From: Paul Mackerras Date: Fri, 14 May 1999 02:52:08 +0000 (+0000) Subject: include ppp_[un]register_compressor even if not compiling X-Git-Tag: ppp-2.4.7~694 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=f96f331f439e95a21c332208bc8e87d4b5ecf77b;hp=d350bee6928479a18c9351818c55ceed53fd6dba include ppp_[un]register_compressor even if not compiling with modules. --- 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 #include @@ -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