summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-08-03 02:40:31 +0000
committerRichard M. Stallman <rms@gnu.org>1993-08-03 02:40:31 +0000
commit0e18d8ef788ce5237035240eae0a8ce3bf0d87c1 (patch)
tree600dd203bd3085b1bafd17f2736a7951bc83ddee
parent43549f18f506866eebe66f91a04a2e2b41eccb0b (diff)
downloademacs-0e18d8ef788ce5237035240eae0a8ce3bf0d87c1.tar.gz
(vfork): Move this outside the USG conditional.
-rw-r--r--src/sysdep.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index c80051e2031..3cc0a8cf801 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -2579,6 +2579,19 @@ sys_write (fildes, buf, nbyte)
#endif /* INTERRUPTIBLE_IO */
+#ifndef HAVE_VFORK
+
+/*
+ * Substitute fork for vfork on USG flavors.
+ */
+
+vfork ()
+{
+ return (fork ());
+}
+
+#endif /* not HAVE_VFORK */
+
#ifdef USG
/*
* All of the following are for USG.
@@ -2715,19 +2728,6 @@ rename (from, to)
#endif
-#ifndef HAVE_VFORK
-
-/*
- * Substitute fork for vfork on USG flavors.
- */
-
-vfork ()
-{
- return (fork ());
-}
-
-#endif /* not HAVE_VFORK */
-
#ifdef MISSING_UTIMES
/* HPUX (among others) sets HAVE_TIMEVAL but does not implement utimes. */