kern/60309: sys/socket.h: CMSG_NXTHDR requires definition of NULL

Hartmut Brandt harti at FreeBSD.org
Fri Jul 16 10:45:16 PDT 2004


Synopsis: sys/socket.h: CMSG_NXTHDR requires definition of NULL

State-Changed-From-To: open->closed
State-Changed-By: harti
State-Changed-When: Fri Jul 16 17:43:26 GMT 2004
State-Changed-Why: 
Replace the NULL with a 0. We cannot define NULL here, because
socket.h isn't allowed to define NULL. We can also not require
the user to include another file, because POSIX requires that
CMSG_NXTHDR is useable with socket.h alone.

Committed. Thanks.

http://www.freebsd.org/cgi/query-pr.cgi?pr=60309


More information about the freebsd-bugs mailing list