summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-30 23:12:29 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-30 23:12:29 +0000
commit6a44965fbc8a8e059d1172371135ea7bdbe3ec1b (patch)
treed84add372b5b296e51ab2da2a75f9e995d654055 /libiberty
parent3fdff6fea2e84b1f108e4ce03330b1a40d442d6c (diff)
downloadgcc-6a44965fbc8a8e059d1172371135ea7bdbe3ec1b.tar.gz
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121364 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/functions.texi2
-rw-r--r--libiberty/strsignal.c6
3 files changed, 9 insertions, 4 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 09c8c751486..33853243c71 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-31 Ben Elliston <bje@au.ibm.com>
+
+ * strsignal.c (psignal): Change type of signo to int.
+ * functions.texi: Regenerate.
+
2007-01-29 Simon Baldwin <simonb@google.com>
* cp-demangle.h (cplus_demangle_operators): External definition
diff --git a/libiberty/functions.texi b/libiberty/functions.texi
index 68c064817db..45dcd4c086e 100644
--- a/libiberty/functions.texi
+++ b/libiberty/functions.texi
@@ -948,7 +948,7 @@ documented.
@end deftypefn
@c strsignal.c:539
-@deftypefn Supplemental void psignal (unsigned @var{signo}, 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},
diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c
index c3a16ab9bdc..4ca9e21d113 100644
--- a/libiberty/strsignal.c
+++ b/libiberty/strsignal.c
@@ -9,7 +9,7 @@
/* We need to declare sys_siglist, because even if the system provides
it we can't assume that it is declared in <signal.h> (for example,
SunOS provides sys_siglist, but it does not declare it in any
- header file). fHowever, we can't declare sys_siglist portably,
+ header file). However, we can't declare sys_siglist portably,
because on some systems it is declared with const and on some
systems it is declared without const. If we were using autoconf,
we could work out the right declaration. Until, then we just
@@ -536,7 +536,7 @@ strtosigno (const char *name)
/*
-@deftypefn Supplemental void psignal (unsigned @var{signo}, 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},
@@ -549,7 +549,7 @@ followed by a newline.
#ifndef HAVE_PSIGNAL
void
-psignal (unsigned signo, char *message)
+psignal (int signo, char *message)
{
if (signal_names == NULL)
{