mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Add unimplemented and unreachable procedures; make os.exit a diverging procedure
This commit is contained in:
+1
-1
@@ -255,7 +255,7 @@ getenv :: proc(name: string) -> (string, bool) {
|
||||
return string(cstr), true;
|
||||
}
|
||||
|
||||
exit :: inline proc(code: int) {
|
||||
exit :: inline proc(code: int) -> ! {
|
||||
_unix_exit(code);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user