Remove deprecated posix proc (#19774)
* Remove deprecated posix proc that takes wrong argument types * Remove deprecated posix proc that takes wrong argument types
This commit is contained in:
parent
61c1142667
commit
b2b878f4d6
2 changed files with 1 additions and 11 deletions
|
|
@ -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>".}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue