summaryrefslogtreecommitdiff
path: root/libiberty/strsignal.c
Commit message (Collapse)AuthorAgeFilesLines
* Adjust strsignal to POSIX 200x prototype.Eric Blake2008-06-191-6/+8
| | | | | | | | | 2008-06-19 Eric Blake <ebb9@byu.net> Adjust strsignal to POSIX 200x prototype. * strsignal.c (strsignal): Remove const. From-SVN: r136949
* strsignal.c (psignal): Change type of signo to int.Ben Elliston2007-01-311-3/+3
| | | | | | | * strsignal.c (psignal): Change type of signo to int. * functions.texi: Regenerate. From-SVN: r121364
* ternary.h: Don't use PARAMS anymore.Gabriel Dos Reis2005-03-281-18/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/ 2005-03-27 Gabriel Dos Reis <gdr@integreable-solutions.net> * ternary.h: Don't use PARAMS anymore. libiberty/ 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> Convert libiberty to use ISO C prototype style 6/n. * strerror.c (init_error_tables, errno_max, strerror, strerrno, strtoerrno, main): Use ISO C prototype style. * strncasecmp.c (strncasecmp): Likewise. * strncmp.c (strncmp): Likewise. * strndup.c (strndup): Likewise. * strrchr.c (strrchr): Likewise. * strsignal.c (init_signal_tables, signo_max, strsignal, strsigno, strtosigno, psignal, main): Likewise. * strstr.c (strstr): Likewise. * strtod.c (strtod, atof): Likewise. * strtol.c (strtol): Likewise. * strtoul.c (strtoul): Likewise. * ternary.c (ternary_insert, ternary_cleanup, ternary_search, ternary_recursivesearch): Likewise. * tmpnam.c (tmpnam): Likewise. * unlink-if-ordinary.c (unlink_if_ordinary): Likewise. * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise. * vfork.c (vfork): Likewise. * vfprintf.c (vfprintf): Likewise. * vprintf.c (vprintf): Likewise. * vsnprintf.c (vsnprintf, checkit, main): Likewise. * vsprintf.c (vsprintf): Likewise. * waitpid.c (waitpid): Likewise. * xatexit.c (xatexit, xatexit_cleanup): Likewise. * xexit.c (xexit): Likewise. * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc, xcalloc, xrealloc): Likewise. * xmemdup.c (xmemdup): Likewise. * xstrdup.c (xstrdup): Likewise. * xstrerror.c (xstrerror): Likewise. * xstrndup.c (xstrndup): Likewise. From-SVN: r97122
* objalloc.c, [...]: Include "config.h" before "ansidecl.h" to avoid ↵Roger Sayle2004-11-201-2/+1
| | | | | | | | | | redeclaration errors with... * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before "ansidecl.h" to avoid redeclaration errors with native compilers. * regex.c: Protect config.h from multiple inclusion. From-SVN: r90954
* argv.c: Fix comments.Kaveh R. Ghazi2003-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * argv.c: Fix comments. * calloc.c: Don't unnecessarily include "libiberty.h". (bzero): Add prototype. * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES. * getcwd.c (getcwd): Use standard definition to avoid conflicts with system headers. * hashtab.c (htab_traverse): Delete unused variables. * rename.c: Include "ansidecl.h". (rename): Use standard definition to avoid conflicts with system headers. * strsignal.c: Rely on ANSI_PROTOTYPES. * strstr.c: Check GNUC >= 2, not GNUC == 2. * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES. * vprintf.c: Include "ansidecl.h" earlier, rely on ANSI_PROTOTYPES. * vsprintf.c: Include "ansidecl.h" earlier, rely on ANSI_PROTOTYPES and possibly include <stdarg.h>. * Makefile.in: Regenerate dependencies. From-SVN: r65659
* argv.c, [...]: Improve manual formatting.DJ Delorie2001-10-171-1/+1
| | | | | | | | | | * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c, ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c, mkstemps.c, pexecute.c, random.c, strsitnal.c, vasprintf.c: Improve manual formatting. * functions.texi: Regenerate. From-SVN: r46323
* Makefile.in (TEXIFILES): Add fnmatch.txh.DJ Delorie2001-10-151-79/+48
| | | | | | | | | | | | | | | * Makefile.in (TEXIFILES): Add fnmatch.txh. (maint-undoc): New. maint-tool: Add "undoc" tool. * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c, fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c, make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c, strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update documentation. * fnmatch.txh: New. * functions.texi: Regenerate. From-SVN: r46274
* demangle.h (demangler_engine): Const-ify.Kaveh R. Ghazi2001-10-071-3/+3
| | | | | | | | | | | | | | | | | | | | include: * demangle.h (demangler_engine): Const-ify. * libiberty.h (buildargv): Likewise. libiberty: * argv.c (buildargv, tests, main): Const-ify. * cp-demangle.c (operator_code): Likewise. * cplus-dem.c (optable, libiberty_demanglers, cplus_demangle_set_style, cplus_demangle_name_to_style, print_demangler_list): Likewise. * hashtab.c (higher_prime_number): Likewise. * strcasecmp.c (charmap): Likewise. * strerror.c (error_info, strerror, main): Likewise. * strncasecmp.c (charmap): Likewise. * strsignal.c (signal_info): Likewise. From-SVN: r46060
* strerror.c (sys_nerr): Hide the OS header version.Loren J. Rittle2001-06-121-0/+2
| | | | | | | * strerror.c (sys_nerr): Hide the OS header version. * strsignal.c (sys_nsig): Likewise. From-SVN: r43242
* hashtab.c, [...]: Include string.h if HAVE_STRING_H.Zack Weinberg2000-05-291-8/+11
| | | | | | | | | | | | | | * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h if HAVE_STRING_H. * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H. * objalloc.c: Include config.h. Include stdlib.h and don't declare malloc or free if HAVE_STDLIB_H. * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H, else declare malloc without prototype. Include string.h if HAVE_STRING_H, else declare memset without prototype. Don't include stddef.h. From-SVN: r34254
* Update from Cygnus libiberty.Jeff Law1998-05-151-9/+9
| | | | | | libiberty uses autoconf now. From-SVN: r19791
* typo in last delta.Jeff Law1997-12-041-1/+1
| | | | From-SVN: r16956
* * strsignal.c (sys_nsig): Try NSIG and _NSIG.Jeffrey A Law1997-12-041-0/+6
| | | | From-SVN: r16952
* Initial revisionJason Merrill1997-08-211-0/+638
From-SVN: r14877