diff options
| author | gingerBill <bill@gingerbill.org> | 2018-10-17 15:27:36 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-10-17 15:27:36 +0100 |
| commit | 307c58d9086ddfa2db9b18bfb8bb76f11b8dbc8c (patch) | |
| tree | 48f340dda80436727f59e5e2513918723dd7dcf9 /core | |
| parent | ef2931d4a5f6e5a68ed339dcaf49840e1bcb8863 (diff) | |
Fix compilation error #272
Diffstat (limited to 'core')
| -rw-r--r-- | core/os/os_linux.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/os/os_linux.odin b/core/os/os_linux.odin index 4f6375701..92e1967d6 100644 --- a/core/os/os_linux.odin +++ b/core/os/os_linux.odin @@ -139,9 +139,9 @@ 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) ---; + @(link_name="exit") _unix_exit :: proc(status: int) -> ! ---; } foreign dl { @(link_name="dlopen") _unix_dlopen :: proc(filename: cstring, flags: int) -> rawptr ---; |