cvs commit: src/sys/modules/syscons/rain rain_saver.c
Hiten Pandya
hmp at nxad.com
Sun Aug 3 16:24:03 PDT 2003
Matthew Dillon wrote:
dillon 2003/08/03 10:27:18 PDT
Modified files:
sys/modules/syscons/rain rain_saver.c
Log:
Fix a compile time error. Rename MAX to RAINMAX and get rid of all the
silly #ifdef checks. I think we can safely blame FreeBSD braindamage
for this one :-).
Hmm, I wonder, have you noticed the warnings that creep up in
the usage of the protocol switch table? The tinderbox has been
showing them for some time.
They happen in almost all if_* drivers (here is from if_gif):
src/sys/modules/if_gif/../../netinet/in_gif.c:75: warning:
initialization from incompatible pointer type
src/sys/modules/if_gif/../../netinet/in_gif.c:75: warning:
initialization from incompatible pointer type
src/sys/modules/if_gif/../../netinet/in_gif.c: In function
`gif_encapcheck4':
src/sys/modules/if_gif/../../netinet/in_gif.c:368: warning: cast
discards qualifiers from pointer target type
Cheers.
--
Hiten Pandya
hmp at xxxxxxxx
http://hmp.serverninjas.com/
More information about the Commits
mailing list