Browse Source

Remove runtime.os_stdout, since it is not required by the runtime

gingerBill 5 years ago
parent
commit
2475c69f00
2 changed files with 0 additions and 6 deletions
  1. 0 3
      core/runtime/os_specific.odin
  2. 0 3
      core/runtime/os_specific_freestanding.odin

+ 0 - 3
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;
 }

+ 0 - 3
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;
 }