aboutsummaryrefslogtreecommitdiff
path: root/libiberty/waitpid.c
AgeCommit message (Collapse)AuthorFilesLines
2017-05-24waitpid.c (wait): Define as a macro that calls _cwait, so that this function ↵Eli Zaretskii1-0/+5
works on MinGW. 2017-05-24 Eli Zaretskii <eliz@gnu.org> * libiberty/waitpid.c (wait) [__MINGW32__]: Define as a macro that calls _cwait, so that this function works on MinGW. From-SVN: r248430
2005-04-02configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings ↵Kaveh R. Ghazi1-1/+2
-Wstrict-prototypes. * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings -Wstrict-prototypes. * configure, config.in: Regenerate. * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix warnings and reconcile interfaces with relevant standards. From-SVN: r97456
2005-03-28ternary.h: Don't use PARAMS anymore.Gabriel Dos Reis1-3/+1
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
2002-05-07configure.in (AC_TYPE_PID_T): Use it.Mark Mitchell1-2/+8
* configure.in (AC_TYPE_PID_T): Use it. * configure: Regenerated. * getruntime.c: Include <sys/types.h>. * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". From-SVN: r53264
2001-09-26configure.in (MAKEINFO, PERL): Detect these.DJ Delorie1-0/+12
* 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
2000-07-26Makefile.in (rename.o, waitpid.o): Depend on config.hRodney Brown1-0/+7
* Makefile.in (rename.o, waitpid.o): Depend on config.h * rename.c: include config.h, unistd.h * waitpid.c: include config.h, sys/wait.h Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r35272
1997-08-21Initial revisionJason Merrill1-0/+11
From-SVN: r14877