Browse Source

Merge pull request #1 from hazeycode/fix/272

Fix syntax error in core/os/os_linux.odin
Chris Heyes 6 years ago
parent
commit
139fa55c27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/os_linux.odin

+ 1 - 1
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) ---;
 }