diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2022-05-08 06:56:46 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 11:56:46 +0200 |
commit | b2b878f4d62ff2dcaf69979bb0f96e6015b47605 (patch) | |
tree | 6c76764510fc3f05b3f1d990af475b53100ccc17 /lib/posix/posix.nim | |
parent | 61c1142667fabec11a7440b0404ce5688cad54d2 (diff) | |
download | Nim-b2b878f4d62ff2dcaf69979bb0f96e6015b47605.tar.gz |
Remove deprecated posix proc (#19774)
* Remove deprecated posix proc that takes wrong argument types * Remove deprecated posix proc that takes wrong argument types
Diffstat (limited to 'lib/posix/posix.nim')
-rw-r--r-- | lib/posix/posix.nim | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index 146ba886f..4ebae4361 100644 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -894,19 +894,9 @@ 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>".} |