about summary refs log tree commit diff stats
path: root/src/extern
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-01-07 17:39:33 +0100
committerbptato <nincsnevem662@gmail.com>2024-01-07 17:39:33 +0100
commit10a02b2ae2613b383453ba99318330560e9371ac (patch)
treec14e3e5e477d257aa7141483c09a52568e5a9458 /src/extern
parent22f127b1124608dc7bcc13165e382bfbaa803764 (diff)
downloadchawan-10a02b2ae2613b383453ba99318330560e9371ac.tar.gz
Use std/* imports everywhere
Diffstat (limited to 'src/extern')
-rw-r--r--src/extern/editor.nim2
-rw-r--r--src/extern/runproc.nim4
-rw-r--r--src/extern/stdio.nim2
-rw-r--r--src/extern/tempfile.nim2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/extern/editor.nim b/src/extern/editor.nim
index 9fb0fd89..f0abd4a9 100644
--- a/src/extern/editor.nim
+++ b/src/extern/editor.nim
@@ -1,4 +1,4 @@
-import os
+import std/os
 
 import config/config
 import display/term
diff --git a/src/extern/runproc.nim b/src/extern/runproc.nim
index 6cad73a0..4b2ec013 100644
--- a/src/extern/runproc.nim
+++ b/src/extern/runproc.nim
@@ -1,5 +1,5 @@
-import streams
-import posix
+import std/posix
+import std/streams
 
 import display/term
 
diff --git a/src/extern/stdio.nim b/src/extern/stdio.nim
index 63c0e88d..7fc1461d 100644
--- a/src/extern/stdio.nim
+++ b/src/extern/stdio.nim
@@ -1,4 +1,4 @@
-import posix
+import std/posix
 
 proc closeHandle(fd, flags: cint) =
   let devnull = open("/dev/null", flags)
diff --git a/src/extern/tempfile.nim b/src/extern/tempfile.nim
index d99ea4dc..75c09835 100644
--- a/src/extern/tempfile.nim
+++ b/src/extern/tempfile.nim
@@ -1,4 +1,4 @@
-import os
+import std/os
 
 var tmpf_seq: int
 proc getTempFile*(tmpdir: string, ext = ""): string =