X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=linux%2Fppp.c;h=f5f9151f5cc3e1744ae9412dc5787f39790037d4;hb=e9275a1f8240dea5d2f0c147ce817db61dad61ab;hp=3a2b377f0b833d23612d082dcfd08a85238b1415;hpb=da085a7dca7340ae4d641c3fdf7af9ba2da9340f;p=ppp.git diff --git a/linux/ppp.c b/linux/ppp.c index 3a2b377..f5f9151 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.27 1999/05/13 00:35:57 paulus Exp $ */ +/* $Id: ppp.c,v 1.30 1999/07/23 07:07:34 paulus Exp $ */ #include #include @@ -104,7 +104,7 @@ #endif #undef PPP_VERSION -#define PPP_VERSION "2.3.8" +#define PPP_VERSION "2.3.9" #if LINUX_VERSION_CODE >= VERSION(2,1,4) @@ -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); @@ -343,7 +341,9 @@ __u16 ppp_crc16_table[256] = 0xf78f, 0xe606, 0xd49d, 0xc514, 0xb1ab, 0xa022, 0x92b9, 0x8330, 0x7bc7, 0x6a4e, 0x58d5, 0x495c, 0x3de3, 0x2c6a, 0x1ef1, 0x0f78 }; +#if LINUX_VERSION_CODE >= VERSION(2,1,18) EXPORT_SYMBOL(ppp_crc16_table); +#endif #ifdef CHECK_CHARACTERS static __u32 paritytab[8] = @@ -3249,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; @@ -3302,7 +3301,6 @@ static void ppp_unregister_compressor (struct compressor *cp) } restore_flags(flags); } -#endif /************************************************************* * Module support routines