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
|
|
@ -47,7 +47,7 @@ becomes an alias for `addr`.
|
|||
- Removed deprecated `math.c_frexp`.
|
||||
- Removed deprecated ``` httpcore.`==` ```.
|
||||
- Removed deprecated `std/dom_extensions`.
|
||||
|
||||
- Removed deprecated `std/posix.CMSG_SPACE` and `std/posix.CMSG_LEN` that takes wrong argument types.
|
||||
- Remove deprecated `osproc.poDemon`, symbol with typo.
|
||||
|
||||
- Deprecated `selfExe` for Nimscript.
|
||||
|
|
|
|||
|
|
@ -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