summaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-11-02 07:20:48 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-11-02 07:20:48 +0000
commit020ecb1b4f516fc98b51ed2b6fc43d16b660fb07 (patch)
tree0a6465ac8b45632cb3fe469d00fe1ffb939cbad7 /gcc/protoize.c
parentf8b7dbdb1e8fb247d747b488031595f52bb29f4a (diff)
downloadgcc-020ecb1b4f516fc98b51ed2b6fc43d16b660fb07.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23498 138bc75d-0d04-0410-961f-82ee72b054a4
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. */