diff options
-rw-r--r-- | lib/posix/posix.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index e8ad786e9..b5da42757 100644 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -878,14 +878,18 @@ proc CMSG_NXTHDR*(mhdr: ptr Tmsghdr, cmsg: ptr Tcmsghdr): ptr Tcmsghdr {. proc CMSG_FIRSTHDR*(mhdr: ptr Tmsghdr): ptr Tcmsghdr {. importc, header: "<sys/socket.h>".} +{.push warning[deprecated]: off.} proc CMSG_SPACE*(len: csize): csize {. importc, header: "<sys/socket.h>", deprecated: "argument `len` should be of type `csize_t`".} +{.pop.} proc CMSG_SPACE*(len: csize_t): csize_t {. importc, header: "<sys/socket.h>".} +{.push warning[deprecated]: off.} proc CMSG_LEN*(len: csize): csize {. importc, header: "<sys/socket.h>", deprecated: "argument `len` should be of type `csize_t`".} +{.pop.} proc CMSG_LEN*(len: csize_t): csize_t {. importc, header: "<sys/socket.h>".} |