Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 17:45:15 GMT
From:      Hartmut Brandt <harti@FreeBSD.org>
To:        peff-freebsd@peff.net, harti@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/60309: sys/socket.h: CMSG_NXTHDR requires definition of NULL
Message-ID:  <200407161745.i6GHjFE0048172@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407161745.i6GHjFE0048172>