(vfork): Move this outside the USG conditional.
authorRichard M. Stallman <rms@gnu.org>
Tue, 3 Aug 1993 02:40:31 +0000 (02:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 3 Aug 1993 02:40:31 +0000 (02:40 +0000)
src/sysdep.c

index c80051e..3cc0a8c 100644 (file)
@@ -2579,6 +2579,19 @@ sys_write (fildes, buf, nbyte)
 
 #endif /* INTERRUPTIBLE_IO */
 \f
+#ifndef HAVE_VFORK
+
+/*
+ *     Substitute fork for vfork on USG flavors.
+ */
+
+vfork ()
+{
+  return (fork ());
+}
+
+#endif /* not HAVE_VFORK */
+\f
 #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.  */