DragonFly BSD
DragonFly commits List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/modules/syscons/rain rain_saver.c


From: Hiten Pandya <hmp@xxxxxxxx>
Date: Mon, 04 Aug 2003 00:24:03 +0100

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@xxxxxxxx
http://hmp.serverninjas.com/




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]