diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-07-21 20:08:36 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-07-21 20:08:36 +0000 |
commit | 838f8562e6f18d9450c8a4c30e2d1cab4c0229a0 (patch) | |
tree | 9c6b2d3c7e513a58a41d0e61372b5492764fb4e3 /libiberty/vfork.c | |
parent | 058ef853fd5adbde3d5a0bd6fae3d6df7db446ea (diff) | |
download | gcc-838f8562e6f18d9450c8a4c30e2d1cab4c0229a0.tar.gz |
Warning fixes:
* 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
Diffstat (limited to 'libiberty/vfork.c')
-rw-r--r-- | libiberty/vfork.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/vfork.c b/libiberty/vfork.c index 86c45919f66..5e877210081 100644 --- a/libiberty/vfork.c +++ b/libiberty/vfork.c @@ -1,6 +1,10 @@ /* 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 () { |