summaryrefslogtreecommitdiffstats
path: root/sys/svr4
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-07-29 00:16:28 +0000
committerpeter <peter@FreeBSD.org>2000-07-29 00:16:28 +0000
commitb273253c9ea4c29dd8abc4b4c036b8b8d0f9518a (patch)
treefed6e72512004d244a00631188a97781089a65c7 /sys/svr4
parent36f0fd9c3e1f27c08076b520b33417546efe5f60 (diff)
downloadFreeBSD-src-b273253c9ea4c29dd8abc4b4c036b8b8d0f9518a.zip
FreeBSD-src-b273253c9ea4c29dd8abc4b4c036b8b8d0f9518a.tar.gz
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.
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 0110bad..393e39a 100644
--- a/sys/svr4/syscalls.master
+++ b/sys/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); }
OpenPOWER on IntegriCloud