lkml.org 
[lkml]   [1998]   [Jan]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 28 Jan 1998 01:11:47 -0600
FromMichael Elizabeth Chastain <>
SubjectRe: warnings while compiling 2.1.81
Thomas Molina writes:
> ppp.c:3181: warning: `ppp_register_compressor' defined but not used
> ppp.c:3208: warning: `ppp_unregister_compressor' defined but not used

I have a patch for this:

    <ftp://ftp.shout.net/pub/users/mec/patch/ppp-warning.2182>

It turns out that ppp_register_compressor and ppp_unregister_compressor
are used only when CONFIG_MODULES is defined, so I slapped a
#ifdef CONFIG_MODULES around their definitions.

Thomas, this is the same patch you tested.  It works for me too.
So if no one else has a problem with it, I'll send it to Linus in
about 24 hours.

Michael Chastain
<mailto:mec@shout.net>
"love without fear"

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008