strsignal.c (psignal): Change type of signo to int.
authorBen Elliston <bje@au.ibm.com>
Tue, 30 Jan 2007 23:12:29 +0000 (23:12 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Tue, 30 Jan 2007 23:12:29 +0000 (10:12 +1100)
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate.

From-SVN: r121364

libiberty/ChangeLog
libiberty/functions.texi
libiberty/strsignal.c

index 09c8c75148617b7a59c74ecbb31a999efda96ba0..33853243c71b78566f43c584a4cc45d91eb629cb 100644 (file)
@@ -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
index 68c064817db771192c5592c7724c39ccfbfc3e97..45dcd4c086ef3b7dc71a80ab5ccab439beb3fb35 100644 (file)
@@ -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},
index c3a16ab9bdcaf37997201bbebaae8fd33b830820..4ca9e21d1133b565ad64c75b06cafeb6d6bf03aa 100644 (file)
@@ -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)
     {