Browse Source

Remove `Syscall` type

gingerBill 4 years ago
parent
commit
5f29288254
1 changed files with 1 additions and 2 deletions
  1. 1 2
      core/os/os_linux.odin

+ 1 - 2
core/os/os_linux.odin

@@ -12,7 +12,6 @@ import "core:intrinsics"
 Handle    :: distinct i32;
 File_Time :: distinct u64;
 Errno     :: distinct i32;
-Syscall   :: distinct i32;
 
 INVALID_HANDLE :: ~Handle(0);
 
@@ -266,7 +265,7 @@ X_OK :: 1; // Test for execute permission
 W_OK :: 2; // Test for write permission
 R_OK :: 4; // Test for read permission
 
-SYS_GETTID: Syscall : 186;
+SYS_GETTID :: 186;
 
 foreign libc {
 	@(link_name="__errno_location") __errno_location    :: proc() -> ^int ---;