problem in linux/socket.h

Mike Bristow (mike@shivan.demon.co.uk)
14 Dec 1996 21:04:33 GMT


Hi,
There appears to be a problem with one of the linux headers when compiling
network programs:

gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual \
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
-Wnested-externs -Winline -Wcast-align -D__USE_BSD_SIGNAL -m486 \
-pipe -Dosockaddr=sockaddr process.c -c
In file included from /usr/include/sys/socket.h:6,
from process.c:50:
/usr/include/linux/socket.h:72: warning: no previous prototype \
for `cmsg_nxthdr'

I'm using 2.1.15.

-- 
Mike Bristow: 			mike@shivan.demon.co.uk   
The best UK M:tG tourney page: 	http://www.shivan.demon.co.uk/tourney/ 
My public PGP key:		http://www.shivan.demon.co.uk/pgp/pgp.txt