summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-10-18 02:29:00 +0800
committerGitHub <noreply@github.com>2022-10-17 20:29:00 +0200
commitc0824b9b80f50807fc41b621760c4b685d1d7497 (patch)
tree76a9076a954198b00b2001eae452b384758d6d5f /lib
parentb7f1757952047258e9639c173145ca88f549c727 (diff)
downloadNim-c0824b9b80f50807fc41b621760c4b685d1d7497.tar.gz
[`std/os` clean up] import and export `osseps` (#20580)
import and export osseps
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/os.nim3
-rw-r--r--lib/pure/pathnorm.nim2
-rw-r--r--lib/std/private/osseps.nim (renamed from lib/pure/includes/osseps.nim)0
3 files changed, 3 insertions, 2 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index a635c62ef..3e7c7cfc9 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -95,7 +95,8 @@ type
 
   OSErrorCode* = distinct int32 ## Specifies an OS Error Code.
 
-include "includes/osseps"
+import std/private/osseps
+export osseps
 
 proc absolutePathInternal(path: string): string {.gcsafe.}
 
diff --git a/lib/pure/pathnorm.nim b/lib/pure/pathnorm.nim
index a71ae0762..4cdc02303 100644
--- a/lib/pure/pathnorm.nim
+++ b/lib/pure/pathnorm.nim
@@ -14,7 +14,7 @@
 
 # Yes, this uses import here, not include so that
 # we don't end up exporting these symbols from pathnorm and os:
-import includes/osseps
+import std/private/osseps
 
 type
   PathIter* = object
diff --git a/lib/pure/includes/osseps.nim b/lib/std/private/osseps.nim
index 1ea587e3c..1ea587e3c 100644
--- a/lib/pure/includes/osseps.nim
+++ b/lib/std/private/osseps.nim