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/i386/linux/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/i386/linux/syscalls.master')
-rw-r--r-- | sys/i386/linux/syscalls.master | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index 3de9c93..f99b9a6 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -32,7 +32,7 @@ ; #ifdef's, etc. may be included, and are copied to the output files. 0 STD LINUX { int linux_setup(void); } -1 NOPROTO LINUX { void exit(int rval); } exit rexit_args void +1 NOPROTO LINUX { void sys_exit(int rval); } sys_exit sys_exit_args void 2 STD LINUX { int linux_fork(void); } 3 NOPROTO LINUX { int read(int fd, char *buf, u_int nbyte); } 4 NOPROTO LINUX { int write(int fd, char *buf, u_int nbyte); } |