summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
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/kern/kern_exit.c
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/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 22e25b1..26e093b 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -93,9 +93,9 @@ static struct exit_list_head exit_list = TAILQ_HEAD_INITIALIZER(exit_list);
* Death of process.
*/
void
-exit(p, uap)
+sys_exit(p, uap)
struct proc *p;
- struct rexit_args /* {
+ struct sys_exit_args /* {
int rval;
} */ *uap;
{
OpenPOWER on IntegriCloud