mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Remove SIGUNUSED
It is, as the name implies, unused - it became SIGSYS, which we already check. Since it is entirely undefined on some architectures it causes a build failure there, see discussion in #10633
This commit is contained in:
@@ -407,10 +407,6 @@ const fn new(signal: i32, name: &'static wstr, desc: &'static wstr) -> Self {
|
||||
#[cfg(target_os = "linux")]
|
||||
LookupEntry::new(libc::SIGIOT, L!("SIGIOT"), L!("Abort (Alias for SIGABRT)")),
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[allow(deprecated)]
|
||||
LookupEntry::new(libc::SIGUNUSED, L!("SIGUNUSED"), L!("Unused signal")),
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
LookupEntry::new(libc::SIGPWR, L!("SIGPWR"), L!("Power failure")),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user