* strsignal.c (psignal): Change second parameter to const char *.
Fix comment accordingly.
This commit is contained in:
parent
84bff83f79
commit
fe817eb1a3
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-05-17 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* strsignal.c (psignal): Change second parameter to const char *.
|
||||||
|
Fix comment accordingly.
|
||||||
|
|
||||||
2011-04-20 Jim Meyering <meyering@redhat.com>
|
2011-04-20 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
* cp-demint.c (cplus_demangle_v3_components): Remove useless
|
* cp-demint.c (cplus_demangle_v3_components): Remove useless
|
||||||
|
|
|
@ -538,7 +538,7 @@ strtosigno (const char *name)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
@deftypefn Supplemental void psignal (int @var{signo}, char *@var{message})
|
@deftypefn Supplemental void psignal (int @var{signo}, const char *@var{message})
|
||||||
|
|
||||||
Print @var{message} to the standard error, followed by a colon,
|
Print @var{message} to the standard error, followed by a colon,
|
||||||
followed by the description of the signal specified by @var{signo},
|
followed by the description of the signal specified by @var{signo},
|
||||||
|
@ -551,7 +551,7 @@ followed by a newline.
|
||||||
#ifndef HAVE_PSIGNAL
|
#ifndef HAVE_PSIGNAL
|
||||||
|
|
||||||
void
|
void
|
||||||
psignal (int signo, char *message)
|
psignal (int signo, const char *message)
|
||||||
{
|
{
|
||||||
if (signal_names == NULL)
|
if (signal_names == NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue