summaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-11-02 07:20:48 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-11-02 07:20:48 +0000
commitc375c43b73df248b6c1b7c87608ba491600c3e0a (patch)
tree0a6465ac8b45632cb3fe469d00fe1ffb939cbad7 /gcc/protoize.c
parent3ccc3a56fbec16381b52668554ed01748d897063 (diff)
downloadgcc-c375c43b73df248b6c1b7c87608ba491600c3e0a.tar.gz
configure.in: Call AC_FUNC_VFORK.
* configure.in: Call AC_FUNC_VFORK. * collect2.c: Define VFORK_STRING as a printable string for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is defined, include vfork.h. If VMS is defined, define vfork() appropriately. Remove vfork check on USG, we're using autoconf. (collect_execute): Pass VFORK_STRING to fatal_perror instead of checking locally what string to pass. (scan_prog_file): Likewise. (scan_libraries): Likewise. * gcc.c: Remove vfork check on USG, we're using autoconf. Besides, no calls to vfork/fork occur in this file. * protoize.c: Likewise. From-SVN: r23498
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index 18187a6c9cd..1e2944e48c3 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -182,12 +182,6 @@ extern int access ();
extern size_t strlen ()
#endif
-/* Fork is not declared because the declaration caused a conflict
- on the HPPA. */
-#if !(defined (USG) || defined (VMS))
-#define fork vfork
-#endif /* (defined (USG) || defined (VMS)) */
-
#endif /* !defined (POSIX) */
/* Look for these where the `const' qualifier is intentionally cast aside. */