problem in linux/socket.h

Mike Bristow (
14 Dec 1996 21:04:33 GMT

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:   
The best UK M:tG tourney page: 
My public PGP key: