aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-05-26 22:10:20 +0000
committerKarl Heuer1995-05-26 22:10:20 +0000
commite336874bf44154ea594fec7a211fd5703e8c2710 (patch)
tree2176e63b54239a655c1d0d2062400e9480537ff1 /src
parent5dc2afde98f4beffb5d84e3214ce8c34190a578d (diff)
downloademacs-e336874bf44154ea594fec7a211fd5703e8c2710.tar.gz
emacs-e336874bf44154ea594fec7a211fd5703e8c2710.zip
(VFORK_RETURN_TYPE): Use int if not already defined.
(vfork): Declare the return type.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c5
1 files changed, 5 insertions, 0 deletions
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 {
191#endif 191#endif
192#endif 192#endif
193 193
194#ifndef VFORK_RETURN_TYPE
195#define VFORK_RETURN_TYPE int
196#endif
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
@@ -2935,6 +2939,7 @@ sys_write (fildes, buf, nbyte)
2935 * Substitute fork for vfork on USG flavors. 2939 * Substitute fork for vfork on USG flavors.
2936 */ 2940 */
2937 2941
2942VFORK_RETURN_TYPE
2938vfork () 2943vfork ()
2939{ 2944{
2940 return (fork ()); 2945 return (fork ());