aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strerror.c
AgeCommit message (Collapse)AuthorFilesLines
2005-03-28ternary.h: Don't use PARAMS anymore.Gabriel Dos Reis1-10/+7
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
2004-04-13strerror.c: Include config.h...Ian Lance Taylor1-3/+3
* strerror.c: Include config.h, and redefine sys_nerr and sys_errlist, before including ansidecl.h and libiberty.h. From-SVN: r80650
2003-10-02strerror.c: Revert last change.Daniel Jacobowitz1-8/+2
* strerror.c: Revert last change. Declare static sys_nerr and sys_errlist using different names. From-SVN: r72046
2003-10-01strerror.c: Don't provide or reference sys_errlist if strerror is available.Daniel Jacobowitz1-1/+8
* strerror.c: Don't provide or reference sys_errlist if strerror is available. From-SVN: r72001
2001-10-15Makefile.in (TEXIFILES): Add fnmatch.txh.DJ Delorie1-6/+6
* 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
2001-10-07alloca.c, [...]: Improve manual formatting.Joseph Myers1-5/+5
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix spelling. Give names to function arguments in documentation. Use (void) prototypes in documentation. * functions.texi: Regenerate. From-SVN: r46068
2001-10-07demangle.h (demangler_engine): Const-ify.Kaveh R. Ghazi1-5/+5
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
2001-09-27libiberty.texi: (Top level): Add syncodeindex pg.Eli Zaretskii1-5/+5
* libiberty.texi: (Top level): Add syncodeindex pg. Add @dircategory and @direntry directives. Add @finalout. (many nodes): Lose the next,prev,up pointers on the @nide line. (Using, Supplemental Functions, Replacement Functions): Fix markup. (Functions): Move around, to allow makeinfo to build the manual without next,prev,up pointers in thye node lines. (Licenses): Fix typos. * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. * functions.texi: Regenerate. * copying-lib.texi: Lose the next,prev,up pointers on the @node line. From-SVN: r45847
2001-09-26configure.in (MAKEINFO, PERL): Detect these.DJ Delorie1-69/+44
* configure.in (MAKEINFO, PERL): Detect these. (--enable-maintainer-mode): Add. * configure: Regenerate. * Makefile.in (MAKEINFO, PERL): Define. (libiberty.info, libiberty.dvi, libiberty.html): New. (CFILES): Add bsearch.c. (CONFIGURED_OFILES): New, list of objects configure might add. (maint-missing, maint-buildall): New, for maintainers only. (clean, mostlyclean): Add info/dvi/html files. * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. * gather-docs: New, for maintainers. * maint-tool: New, for maintainers. * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update documentation. Co-Authored-By: Phil Edwards <pedwards@disaster.jaj.com> From-SVN: r45828
2001-06-12strerror.c (sys_nerr): Hide the OS header version.Loren J. Rittle1-0/+2
* strerror.c (sys_nerr): Hide the OS header version. * strsignal.c (sys_nsig): Likewise. From-SVN: r43242
2000-05-29hashtab.c, [...]: Include string.h if HAVE_STRING_H.Zack Weinberg1-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
1998-05-15Update from Cygnus libiberty.Jeff Law1-9/+9
libiberty uses autoconf now. From-SVN: r19791
1997-08-21Initial revisionJason Merrill1-0/+831
From-SVN: r14877