changeset 11951:00a37f7ba63c

(VFORK_RETURN_TYPE): Use int if not already defined. (vfork): Declare the return type.
author Karl Heuer <kwzh@gnu.org>
date Fri, 26 May 1995 22:10:20 +0000
parents e45a4d0aae48
children 655dd1479452
files src/sysdep.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Fri May 26 22:07:55 1995 +0000
+++ b/src/sysdep.c	Fri May 26 22:10:20 1995 +0000
@@ -191,6 +191,10 @@
 #endif
 #endif
 
+#ifndef VFORK_RETURN_TYPE
+#define VFORK_RETURN_TYPE int
+#endif
+
 /* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits.  */
 #ifndef LPASS8
 #define LPASS8 0
@@ -2935,6 +2939,7 @@
  *      Substitute fork for vfork on USG flavors.
  */
 
+VFORK_RETURN_TYPE
 vfork ()
 {
   return (fork ());