Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Note about protection of CMSG_NXTHDR
Browse files Browse the repository at this point in the history
  • Loading branch information
todayman committed Nov 21, 2014
1 parent 3485a30 commit 0606b1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/sys/posix/sys/socket.d
Expand Up @@ -192,7 +192,9 @@ version( linux )
extern (D) ubyte* CMSG_DATA( cmsghdr* cmsg ) { return cast(ubyte*)( cmsg + 1 ); }
}

private cmsghdr* __cmsg_nxthdr(msghdr*, cmsghdr*);
/*private*/ cmsghdr* __cmsg_nxthdr(msghdr*, cmsghdr*);
// FIXME the alias is unusable because the target of the alias is private.
// Is this a bug?
alias __cmsg_nxthdr CMSG_NXTHDR;

extern (D) cmsghdr* CMSG_FIRSTHDR( msghdr* mhdr )
Expand Down

0 comments on commit 0606b1b

Please sign in to comment.