diff options
author | Tiwei Bie <[email protected]> | 2024-04-23 20:58:52 +0800 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2024-04-30 14:13:38 +0200 |
commit | 323ced9669a8f70a9ae707cfe46f852ca23ed23e (patch) | |
tree | 0c3e9fbaea004c42c381794d620a32fffe58fa3c /arch/um/os-Linux/skas/process.c | |
parent | f95bab86106ee5b180b197a68246282b56ef5d8a (diff) |
um: Fix -Wmissing-prototypes warnings for (rt_)sigreturn
Use SYSCALL_DEFINE0 to define (rt_)sigreturn. This will address
below -Wmissing-prototypes warnings:
arch/x86/um/signal.c:453:6: warning: no previous prototype for ‘sys_sigreturn’ [-Wmissing-prototypes]
arch/x86/um/signal.c:560:6: warning: no previous prototype for ‘sys_rt_sigreturn’ [-Wmissing-prototypes]
Signed-off-by: Tiwei Bie <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/os-Linux/skas/process.c')
0 files changed, 0 insertions, 0 deletions