[PATCH 2/5] signal: Move sys_siglist to a compat symbol

Florian Weimer fw@deneb.enyo.de
Tue Apr 28 14:50:09 GMT 2020


* Adhemerval Zanella via Libc-alpha:

> diff --git a/signal/signal.h b/signal/signal.h
> index fa8de963f8..3739550e5f 100644
> --- a/signal/signal.h
> +++ b/signal/signal.h
> @@ -281,12 +281,6 @@ extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val)
>  
>  #ifdef __USE_MISC
>  
> -/* Names of the signals.  This variable exists only for compatibility.
> -   Use `strsignal' instead (see <string.h>).  */
> -extern const char *const _sys_siglist[_NSIG];
> -extern const char *const sys_siglist[_NSIG];

This is yet another removal without a formal deprecation warning.  Do
we really want to do this?  mutt does not yet use strsignal, for
example.


More information about the Libc-alpha mailing list