aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-07-29 00:16:28 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-07-29 00:16:28 +0000
commitac2b067b9a9efbcf0946f1c6d3c0413b0ddd51b1 (patch)
treebcbe2ff5f84c9232675e542ae20b4882bdb74b2d /sys/compat
parentd244b0e95b7b9b9a4e9e9b05825a75305e4f7e58 (diff)
downloadsrc-ac2b067b9a9efbcf0946f1c6d3c0413b0ddd51b1.tar.gz
src-ac2b067b9a9efbcf0946f1c6d3c0413b0ddd51b1.zip
Change the 'exit()' system call to 'sys_exit()'. This avoids overlapping
gcc's internal exit() prototypes and the (futile) hackery that we did to try and avoid warnings. main() was renamed for similar reasons. Remove an exit related hack from makesyscalls.sh.
Notes
Notes: svn path=/head/; revision=63986
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/svr4/syscalls.master2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/syscalls.master b/sys/compat/svr4/syscalls.master
index 0110bad6fcf4..393e39a61d86 100644
--- a/sys/compat/svr4/syscalls.master
+++ b/sys/compat/svr4/syscalls.master
@@ -35,7 +35,7 @@
#include <svr4/svr4_proto.h>
0 UNIMPL SVR4 unused
-1 NOPROTO POSIX { void exit(int rval); } exit rexit_args void
+1 NOPROTO POSIX { void sys_exit(int rval); } sys_exit sys_exit_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); }