From: Karl Heuer Date: Fri, 26 May 1995 22:10:20 +0000 (+0000) Subject: (VFORK_RETURN_TYPE): Use int if not already defined. X-Git-Tag: emacs-19.34~3907 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e336874bf44154ea594fec7a211fd5703e8c2710;p=emacs.git (VFORK_RETURN_TYPE): Use int if not already defined. (vfork): Declare the return type. --- diff --git a/src/sysdep.c b/src/sysdep.c index 742582d5382..41bbd92c43d 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -191,6 +191,10 @@ struct utimbuf { #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 @@ sys_write (fildes, buf, nbyte) * Substitute fork for vfork on USG flavors. */ +VFORK_RETURN_TYPE vfork () { return (fork ());