diff options
author | def <dennis@felsin9.de> | 2014-11-13 21:34:46 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2014-11-13 21:34:46 +0100 |
commit | f52fd8785f3c3247ef5b018738f2920b79b7f8f6 (patch) | |
tree | b1002949a35417408f9b33fdb42921fc91f83f00 /lib/posix | |
parent | 06a4ab54aa53ba129744f34a04a711ac67f8d043 (diff) | |
download | Nim-f52fd8785f3c3247ef5b018738f2920b79b7f8f6.tar.gz |
Fix some deprecation warnings caused by renames
Diffstat (limited to 'lib/posix')
-rw-r--r-- | lib/posix/epoll.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/posix/epoll.nim b/lib/posix/epoll.nim index 5565a5ae8..bc84611a6 100644 --- a/lib/posix/epoll.nim +++ b/lib/posix/epoll.nim @@ -9,7 +9,7 @@ {.deadCodeElim:on.} -from posix import TSocketHandle +from posix import SocketHandle const EPOLLIN* = 0x00000001 @@ -58,7 +58,7 @@ proc epoll_create1*(flags: cint): cint {.importc: "epoll_create1", ## Same as epoll_create but with an FLAGS parameter. The unused SIZE ## parameter has been dropped. -proc epoll_ctl*(epfd: cint; op: cint; fd: cint | TSocketHandle; event: ptr epoll_event): cint {. +proc epoll_ctl*(epfd: cint; op: cint; fd: cint | SocketHandle; event: ptr epoll_event): cint {. importc: "epoll_ctl", header: "<sys/epoll.h>".} ## Manipulate an epoll instance "epfd". Returns 0 in case of success, ## -1 in case of error ( the "errno" variable will contain the |