summaryrefslogtreecommitdiffstats
path: root/sys/svr4
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-05-09 18:08:51 +0000
committerbde <bde@FreeBSD.org>2000-05-09 18:08:51 +0000
commit3b5f5d7200c8f7d04765869358e5f0ac50a6903d (patch)
tree767bf9e0318d887c95ae4078f0aa5de24c697310 /sys/svr4
parentecc8d7cbc119fc19bb1249b27e1b013f2449a563 (diff)
downloadFreeBSD-src-3b5f5d7200c8f7d04765869358e5f0ac50a6903d.zip
FreeBSD-src-3b5f5d7200c8f7d04765869358e5f0ac50a6903d.tar.gz
Fixed the return type and args struct tag for exit(). They were wrong in
all emulators. These entries were unused, so the bug had no effect, but the the args struct tag will be used to calculate sy_nargs correctly.
Diffstat (limited to 'sys/svr4')
-rw-r--r--sys/svr4/syscalls.master2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/svr4/syscalls.master b/sys/svr4/syscalls.master
index af54218..2c1de7e 100644
--- a/sys/svr4/syscalls.master
+++ b/sys/svr4/syscalls.master
@@ -35,7 +35,7 @@
; #ifdef's, etc. may be included, and are copied to the output files.
0 UNIMPL SVR4 unused
-1 NOPROTO POSIX { int exit(int rval); }
+1 NOPROTO POSIX { void exit(int rval); } exit rexit_args void
2 NOPROTO POSIX { int fork(void); }
3 NOPROTO POSIX { int read(int fd, char *buf, u_int nbyte); }
4 NOPROTO SVR4 { int write(int fd, char *buf, u_int nbyte); }
OpenPOWER on IntegriCloud