From ac2b067b9a9efbcf0946f1c6d3c0413b0ddd51b1 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 29 Jul 2000 00:16:28 +0000 Subject: 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. --- sys/compat/svr4/syscalls.master | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/compat') 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 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); } -- cgit v1.2.3