summaryrefslogtreecommitdiffstats
path: root/sys/kern/makesyscalls.sh
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/makesyscalls.sh
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/makesyscalls.sh')
-rw-r--r--sys/kern/makesyscalls.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index 37110a0..551242d8 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -290,8 +290,6 @@ s/\$//g
(!lkmnosys || funcname != "lkmnosys")) {
printf("%s\t%s __P((struct proc *, struct %s *))",
rettype, funcname, argalias) > sysdcl
- if (funcname == "exit")
- printf(" __dead2") > sysdcl
printf(";\n") > sysdcl
}
if (funcname == "nosys")
OpenPOWER on IntegriCloud