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: "".} +{.push warning[deprecated]: off.} proc CMSG_SPACE*(len: csize): csize {. importc, header: "", deprecated: "argument `len` should be of type `csize_t`".} +{.pop.} proc CMSG_SPACE*(len: csize_t): csize_t {. importc, header: "".} +{.push warning[deprecated]: off.} proc CMSG_LEN*(len: csize): csize {. importc, header: "", deprecated: "argument `len` should be of type `csize_t`".} +{.pop.} proc CMSG_LEN*(len: csize_t): csize_t {. importc, header: "".}