diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-05-17 16:14:52 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-05-17 16:14:52 +0000 |
commit | fe817eb1a32305211d7aba8832cd974b2671b69b (patch) | |
tree | f2e9491de037a06d1c17e5c0615dd570693f8b7b /libiberty/strsignal.c | |
parent | 84bff83f799013476b466a24f8eb639dc4e16a77 (diff) | |
download | gdb-fe817eb1a32305211d7aba8832cd974b2671b69b.zip gdb-fe817eb1a32305211d7aba8832cd974b2671b69b.tar.gz gdb-fe817eb1a32305211d7aba8832cd974b2671b69b.tar.bz2 |
* strsignal.c (psignal): Change second parameter to const char *.
Fix comment accordingly.
Diffstat (limited to 'libiberty/strsignal.c')
-rw-r--r-- | libiberty/strsignal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c index 666b1b4..3b56d16 100644 --- a/libiberty/strsignal.c +++ b/libiberty/strsignal.c @@ -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, followed by the description of the signal specified by @var{signo}, @@ -551,7 +551,7 @@ followed by a newline. #ifndef HAVE_PSIGNAL void -psignal (int signo, char *message) +psignal (int signo, const char *message) { if (signal_names == NULL) { |