diff options
author | cheatfate <ka@hardcore.kiev.ua> | 2016-04-02 02:17:32 +0300 |
---|---|---|
committer | cheatfate <ka@hardcore.kiev.ua> | 2016-04-02 02:17:32 +0300 |
commit | 0a5a593682130d7b74f16c5ee7546b2757e16d7d (patch) | |
tree | e849286ec173c4822c0857750923ccaa792660b0 | |
parent | 986b80ece16a9a3454cae80e1d80ffdabc5b732d (diff) | |
download | Nim-0a5a593682130d7b74f16c5ee7546b2757e16d7d.tar.gz |
Patch timer_create and timer_delete to have proper declaration.
-rw-r--r-- | lib/posix/posix.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim index 4c7b817cb..f1344f20d 100644 --- a/lib/posix/posix.nim +++ b/lib/posix/posix.nim @@ -2309,9 +2309,9 @@ proc strftime*(a1: cstring, a2: int, a3: cstring, a4: var Tm): int {.importc, header: "<time.h>".} proc strptime*(a1, a2: cstring, a3: var Tm): cstring {.importc, header: "<time.h>".} proc time*(a1: var Time): Time {.importc, header: "<time.h>".} -proc timer_create*(a1: var ClockId, a2: var SigEvent, +proc timer_create*(a1: ClockId, a2: var SigEvent, a3: var Timer): cint {.importc, header: "<time.h>".} -proc timer_delete*(a1: var Timer): cint {.importc, header: "<time.h>".} +proc timer_delete*(a1: Timer): cint {.importc, header: "<time.h>".} proc timer_gettime*(a1: Timer, a2: var Itimerspec): cint {. importc, header: "<time.h>".} proc timer_getoverrun*(a1: Timer): cint {.importc, header: "<time.h>".} |