diff options
author | DJ Delorie <dj@delorie.com> | 2011-06-13 16:37:46 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2011-06-13 16:37:46 +0000 |
commit | a4258db70b2f727b2c0c06fceb162733a818834f (patch) | |
tree | 6d694b2cc113d8d4ff8fc0116e240eed301588cc /libiberty | |
parent | 00b384a74083a65a4f5165741968981372aff978 (diff) | |
download | gdb-a4258db70b2f727b2c0c06fceb162733a818834f.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/strsignal.c | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 855333e8027..0e88ea3cc9e 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,8 +1,3 @@ -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> * cp-demint.c (cplus_demangle_v3_components): Remove useless diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c index 3b56d16988b..666b1b4f15e 100644 --- a/libiberty/strsignal.c +++ b/libiberty/strsignal.c @@ -538,7 +538,7 @@ strtosigno (const char *name) /* -@deftypefn Supplemental void psignal (int @var{signo}, const char *@var{message}) +@deftypefn Supplemental void psignal (int @var{signo}, 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, const char *message) +psignal (int signo, char *message) { if (signal_names == NULL) { |