diff options
| author | jason <jkercher43@gmail.com> | 2025-03-10 20:27:59 -0400 |
|---|---|---|
| committer | jason <jkercher43@gmail.com> | 2025-03-10 20:27:59 -0400 |
| commit | ae02ced1759124681c288cdae9b4aea545cd6928 (patch) | |
| tree | ae1c517eea4102146071d6f30e3b5414a1f9c100 /core/sys | |
| parent | 1035f0839d9c29e00040dbb71c2b6536868f8745 (diff) | |
Fix linux.rt_sigaction
Add missing polymorphic parameter to Sig_Action
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/linux/sys.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/linux/sys.odin b/core/sys/linux/sys.odin index 532c1ff5f..5fc4a0efa 100644 --- a/core/sys/linux/sys.odin +++ b/core/sys/linux/sys.odin @@ -212,7 +212,7 @@ rt_sigreturn :: proc "c" () -> ! { /* Alter an action taken by a process. */ -rt_sigaction :: proc "contextless" (sig: Signal, sigaction: ^Sig_Action($T), old_sigaction: ^Sig_Action) -> Errno { +rt_sigaction :: proc "contextless" (sig: Signal, sigaction: ^Sig_Action($T), old_sigaction: ^Sig_Action($U)) -> Errno { // NOTE(jason): It appears that the restorer is required for i386 and amd64 when ODIN_ARCH == .i386 || ODIN_ARCH == .amd64 { sigaction.flags += {.RESTORER} |