Hi Alex, On 5/10/21 9:39 AM, Alejandro Colomar wrote: > glibc uses 'const' in sigdescr_np(), sigabbrev_np(). > Let's use it here too. > > .../glibc$ grep_glibc_prototype sigdescr_np > string/string.h:469: > extern const char *sigdescr_np (int __sig) __THROW; > .../glibc$ grep_glibc_prototype sigabbrev_np > string/string.h:466: > extern const char *sigabbrev_np (int __sig) __THROW; > .../glibc$ > > Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> Applied. Thanks, Michael > --- > man3/strsignal.3 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man3/strsignal.3 b/man3/strsignal.3 > index 6a5a1e610..bc4120303 100644 > --- a/man3/strsignal.3 > +++ b/man3/strsignal.3 > @@ -36,8 +36,8 @@ strsignal, sigdescr_np, sigdescr_np, sys_siglist \- return string describing sig > .B #include <string.h> > .PP > .BI "char *strsignal(int " sig ); > -.BI "char *sigdescr_np(int " sig ); > -.BI "char *sigabbrev_np(int " sig ); > +.BI "const char *sigdescr_np(int " sig ); > +.BI "const char *sigabbrev_np(int " sig ); > .PP > .BI "extern const char *const " sys_siglist []; > .fi > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/