summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/syscalls.master
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/i386/ibcs2/syscalls.master
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/i386/ibcs2/syscalls.master')
-rw-r--r--sys/i386/ibcs2/syscalls.master2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/syscalls.master b/sys/i386/ibcs2/syscalls.master
index 3455d5b..c4aed2f 100644
--- a/sys/i386/ibcs2/syscalls.master
+++ b/sys/i386/ibcs2/syscalls.master
@@ -32,7 +32,7 @@
; #ifdef's, etc. may be included, and are copied to the output files.
0 NOPROTO NOHIDE { int nosys(void); } syscall nosys_args int
-1 NOPROTO NOHIDE { void exit(int rval); } exit rexit_args void
+1 NOPROTO NOHIDE { void sys_exit(int rval); } sys_exit sys_exit_args void
2 NOPROTO POSIX { int fork(void); }
3 STD POSIX { int ibcs2_read(int fd, char *buf, u_int nbytes); }
4 NOPROTO POSIX { int write(int fd, char *buf, u_int nbytes); }
OpenPOWER on IntegriCloud