Browse Source

Add missing `-> !` annotation

gingerBill 4 năm trước cách đây
mục cha
commit
af95381bf8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/os/os_darwin.odin

+ 1 - 1
core/os/os_darwin.odin

@@ -302,7 +302,7 @@ foreign libc {
 	@(link_name="chdir")    _unix_chdir    :: proc(buf: cstring) -> c.int ---;
 	@(link_name="realpath") _unix_realpath :: proc(path: cstring, resolved_path: rawptr) -> rawptr ---;
 
-	@(link_name="exit")    _unix_exit :: proc(status: int) ---;
+	@(link_name="exit")    _unix_exit :: proc(status: int) -> ! ---;
 }
 
 foreign dl {