Mercurial > emacs
comparison src/sysdep.c @ 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 | a2f009e1b85b |
children | 305d8df294a5 |
comparison
equal
deleted
inserted
replaced
11950:e45a4d0aae48 | 11951:00a37f7ba63c |
---|---|
187 struct utimbuf { | 187 struct utimbuf { |
188 long actime; | 188 long actime; |
189 long modtime; | 189 long modtime; |
190 }; | 190 }; |
191 #endif | 191 #endif |
192 #endif | |
193 | |
194 #ifndef VFORK_RETURN_TYPE | |
195 #define VFORK_RETURN_TYPE int | |
192 #endif | 196 #endif |
193 | 197 |
194 /* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits. */ | 198 /* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits. */ |
195 #ifndef LPASS8 | 199 #ifndef LPASS8 |
196 #define LPASS8 0 | 200 #define LPASS8 0 |
2933 #ifndef WINDOWSNT | 2937 #ifndef WINDOWSNT |
2934 /* | 2938 /* |
2935 * Substitute fork for vfork on USG flavors. | 2939 * Substitute fork for vfork on USG flavors. |
2936 */ | 2940 */ |
2937 | 2941 |
2942 VFORK_RETURN_TYPE | |
2938 vfork () | 2943 vfork () |
2939 { | 2944 { |
2940 return (fork ()); | 2945 return (fork ()); |
2941 } | 2946 } |
2942 #endif /* not WINDOWSNT */ | 2947 #endif /* not WINDOWSNT */ |