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:
Fabian Boehm
2024-12-23 17:01:04 +01:00
parent 0153579a4c
commit e2596d13cd

View File

@@ -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")),