mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
838f8562e6
* cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2. * setenv.c (setenv): Initialize variable `ep'. * sigsetmask.c (abort): Prototype. * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not __STDC__ for stdarg.h include. (int_vasprintf): Prototype. (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in definition. Cast `global_total_width' in comparison. (main): Prototype. Return a value. * vfork.c (fork): Prototype. * xexit.c: Include config.h. From-SVN: r35178
13 lines
214 B
C
13 lines
214 B
C
/* Emulate vfork using just plain fork, for systems without a real vfork.
|
|
This function is in the public domain. */
|
|
|
|
#include "ansidecl.h"
|
|
|
|
extern int fork PARAMS ((void));
|
|
|
|
int
|
|
vfork ()
|
|
{
|
|
return (fork ());
|
|
}
|