diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-10-31 00:03:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 17:03:04 +0100 |
commit | 4d11d0619d11d8aecdaff998981efcd054de9760 (patch) | |
tree | d098736002228d600e3232f6ab6d8347872224c8 /lib/posix | |
parent | 403e0118ae8d099384e9bd6a046c2114538503b8 (diff) | |
download | Nim-4d11d0619d11d8aecdaff998981efcd054de9760.tar.gz |
complete std prefixes for stdlib (#22887)
follow up https://github.com/nim-lang/Nim/pull/22851 follow up https://github.com/nim-lang/Nim/pull/22873
Diffstat (limited to 'lib/posix')
-rw-r--r-- | lib/posix/epoll.nim | 2 | ||||
-rw-r--r-- | lib/posix/kqueue.nim | 2 | ||||
-rw-r--r-- | lib/posix/linux.nim | 2 | ||||
-rw-r--r-- | lib/posix/posix_utils.nim | 2 | ||||
-rw-r--r-- | lib/posix/termios.nim | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/posix/epoll.nim b/lib/posix/epoll.nim index 7ee062e4f..007488354 100644 --- a/lib/posix/epoll.nim +++ b/lib/posix/epoll.nim @@ -7,7 +7,7 @@ # distribution, for details about the copyright. # -from posix import SocketHandle +from std/posix import SocketHandle const EPOLLIN* = 0x00000001 diff --git a/lib/posix/kqueue.nim b/lib/posix/kqueue.nim index c83ae33ea..2450cdb42 100644 --- a/lib/posix/kqueue.nim +++ b/lib/posix/kqueue.nim @@ -7,7 +7,7 @@ # distribution, for details about the copyright. # -from posix import Timespec +from std/posix import Timespec when defined(macosx) or defined(freebsd) or defined(openbsd) or defined(dragonfly): diff --git a/lib/posix/linux.nim b/lib/posix/linux.nim index 9a5e9f062..29fd4288d 100644 --- a/lib/posix/linux.nim +++ b/lib/posix/linux.nim @@ -1,4 +1,4 @@ -import posix +import std/posix ## Flags of `clone` syscall. ## See `clone syscall manual diff --git a/lib/posix/posix_utils.nim b/lib/posix/posix_utils.nim index 7e4a2eeda..b12950f7b 100644 --- a/lib/posix/posix_utils.nim +++ b/lib/posix/posix_utils.nim @@ -11,7 +11,7 @@ # Where possible, contribute OS-independent procs in `os <os.html>`_ instead. -import posix, parsecfg, os +import std/[posix, parsecfg, os] import std/private/since when defined(nimPreviewSlimSystem): diff --git a/lib/posix/termios.nim b/lib/posix/termios.nim index f755c720d..7fb6bb81c 100644 --- a/lib/posix/termios.nim +++ b/lib/posix/termios.nim @@ -7,7 +7,7 @@ # distribution, for details about the copyright. # -import posix +import std/posix type Speed* = cuint |