aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-09-15 14:16:44 +0100
committergingerBill <bill@gingerbill.org>2020-09-15 14:16:44 +0100
commit2475c69f00e2639f6951eb9adfe0a4cdb2fbb475 (patch)
tree2cde1354ba05ef6b0bb27498657b020f9cc02250 /core/runtime
parentc9dcb7242f1c9609512f61719d8055e7ff0491d0 (diff)
Remove runtime.os_stdout, since it is not required by the runtime
Diffstat (limited to 'core/runtime')
-rw-r--r--core/runtime/os_specific.odin3
-rw-r--r--core/runtime/os_specific_freestanding.odin3
2 files changed, 0 insertions, 6 deletions
diff --git a/core/runtime/os_specific.odin b/core/runtime/os_specific.odin
index ab2d78007..1a63f580f 100644
--- a/core/runtime/os_specific.odin
+++ b/core/runtime/os_specific.odin
@@ -6,9 +6,6 @@ import "core:os"
_OS_Errno :: distinct int;
_OS_Handle :: os.Handle;
-os_stdout :: proc "contextless" () -> _OS_Handle {
- return os.stdout;
-}
os_stderr :: proc "contextless" () -> _OS_Handle {
return os.stderr;
}
diff --git a/core/runtime/os_specific_freestanding.odin b/core/runtime/os_specific_freestanding.odin
index 3906e3ed7..9e6054eb2 100644
--- a/core/runtime/os_specific_freestanding.odin
+++ b/core/runtime/os_specific_freestanding.odin
@@ -4,9 +4,6 @@ package runtime
_OS_Errno :: distinct int;
_OS_Handle :: distinct uintptr;
-os_stdout :: proc "contextless" () -> _OS_Handle {
- return 1;
-}
os_stderr :: proc "contextless" () -> _OS_Handle {
return 2;
}