Yah, it looks like the endian stuff wasn't completely tested.
I'll get my test boxes up and running again tomorrow and track
down anything that hasn't been fixed by then.
-Matt
:FYI, gcc2
:
:> cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs
:> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
:> -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I. -I@
:> -I@/../include -g -mpreferred-stack-boundary=2 -fno-common
:> -ffreestanding -Wall -Wredundant-decls -Wnested-externs
:> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
:> -Wcast-qual -fformat-extensions -ansi -c
:> /usr/src/sys/netproto/802_11/ieee80211_ioctl.c
:> In file included from
:> /usr/src/sys/netproto/802_11/ieee80211_ioctl.c:43:
:> @/sys/endian.h:83: syntax error before `be16dec'
:> @/sys/endian.h:84: warning: return-type defaults to `int'
:> @/sys/endian.h:84: warning: no previous prototype for `be16dec'
:> @/sys/endian.h: In function `be16dec':
:> @/sys/endian.h:85: syntax error before `*'
:...