diff options
author | peter <peter@FreeBSD.org> | 2000-07-29 00:16:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-07-29 00:16:28 +0000 |
commit | b273253c9ea4c29dd8abc4b4c036b8b8d0f9518a (patch) | |
tree | fed6e72512004d244a00631188a97781089a65c7 /sys/kern/syscalls.master | |
parent | 36f0fd9c3e1f27c08076b520b33417546efe5f60 (diff) | |
download | FreeBSD-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/kern/syscalls.master')
-rw-r--r-- | sys/kern/syscalls.master | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 5631a88..95ab3f7 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -38,7 +38,7 @@ ; of the current calls. 0 STD NOHIDE { int nosys(void); } syscall nosys_args int -1 STD NOHIDE { void exit(int rval); } exit rexit_args void +1 STD NOHIDE { void sys_exit(int rval); } sys_exit sys_exit_args void 2 STD POSIX { int fork(void); } 3 STD POSIX { ssize_t read(int fd, void *buf, size_t nbyte); } 4 STD POSIX { ssize_t write(int fd, const void *buf, size_t nbyte); } |