aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Heyes <rumcode@icloud.com>2018-10-15 21:24:42 +0100
committerChris Heyes <rumcode@icloud.com>2018-10-15 21:24:42 +0100
commit562bb6e4c46eb730c8e75bf5ebe12f7e2ed75702 (patch)
tree732dfdbd2fcf77c72cd3e76f1e2befe394a37257
parentef2931d4a5f6e5a68ed339dcaf49840e1bcb8863 (diff)
Fix syntax error in core/os/os_linux.odin
-rw-r--r--core/os/os_linux.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os_linux.odin b/core/os/os_linux.odin
index 4f6375701..b0f703c17 100644
--- a/core/os/os_linux.odin
+++ b/core/os/os_linux.odin
@@ -139,7 +139,7 @@ foreign libc {
@(link_name="calloc") _unix_calloc :: proc(num, size: int) -> rawptr ---;
@(link_name="free") _unix_free :: proc(ptr: rawptr) ---;
@(link_name="realloc") _unix_realloc :: proc(ptr: rawptr, size: int) -> rawptr ---;
- @(link_name="getenv") _unix_getenv :: proc(cstring) -> cstring --- -> !;
+ @(link_name="getenv") _unix_getenv :: proc(cstring) -> cstring ---;
@(link_name="exit") _unix_exit :: proc(status: int) ---;
}