commit d2e738baea58646fd7afbac66bd85505eccab47e parent 08ba275b6cb0ab3047b40f87254ba8a992a2672d Author: Drew DeVault <sir@cmpwn.com> Date: Tue, 12 Jan 2021 17:21:53 -0500 rt: slim down to only what we need Diffstat:
M | rt/+linux/syscalls.ha | | | 33 | +-------------------------------- |
1 file changed, 1 insertion(+), 32 deletions(-)
diff --git a/rt/+linux/syscalls.ha b/rt/+linux/syscalls.ha @@ -41,35 +41,4 @@ export fn kill(pid: int, signal: int) int = export fn pipe2(pipefd: *[2]int, flags: int) int = syscall2(SYS_pipe2, pipefd: uintptr: u64, flags: u64): int; -export def SIGHUP: int = 1; -export def SIGINT: int = 2; -export def SIGQUIT: int = 3; -export def SIGILL: int = 4; -export def SIGTRAP: int = 5; -export def SIGABRT: int = 6; -export def SIGBUS: int = 7; -export def SIGFPE: int = 8; -export def SIGKILL: int = 9; -export def SIGUSR1: int = 10; -export def SIGSEGV: int = 11; -export def SIGUSR2: int = 12; -export def SIGPIPE: int = 13; -export def SIGALRM: int = 14; -export def SIGTERM: int = 15; -export def SIGSTKFLT: int = 16; -export def SIGCHLD: int = 17; -export def SIGCONT: int = 18; -export def SIGSTOP: int = 19; -export def SIGTSTP: int = 20; -export def SIGTTIN: int = 21; -export def SIGTTOU: int = 22; -export def SIGURG: int = 23; -export def SIGXCPU: int = 24; -export def SIGXFSZ: int = 25; -export def SIGVTALRM: int = 26; -export def SIGPROF: int = 27; -export def SIGWINCH: int = 28; -export def SIGIO: int = 29; -export def SIGPOLL: int = 29; -export def SIGPWR: int = 30; -export def SIGSYS: int = 31; +export def SIGABRT: int = 6;