aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strsignal.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2007-01-30 23:13:04 +0000
committerBen Elliston <bje@au.ibm.com>2007-01-30 23:13:04 +0000
commit71f2e6f41fd44507fade469e748fff19877acdd2 (patch)
tree4bd8b2958d89e0537cc3d7d5c8171226e24b0a29 /libiberty/strsignal.c
parent33738e41d94bbe79c590ba7e2303101ec5840144 (diff)
downloadgdb-71f2e6f41fd44507fade469e748fff19877acdd2.zip
gdb-71f2e6f41fd44507fade469e748fff19877acdd2.tar.gz
gdb-71f2e6f41fd44507fade469e748fff19877acdd2.tar.bz2
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate.
Diffstat (limited to 'libiberty/strsignal.c')
-rw-r--r--libiberty/strsignal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c
index c3a16ab..4ca9e21 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)
{