summaryrefslogtreecommitdiffstats
path: root/sys/kern/makesyscalls.sh
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-23 03:50:43 +0000
committerpeter <peter@FreeBSD.org>2003-12-23 03:50:43 +0000
commite3a23c9582367266c6a734c0c3746a8abf341dcb (patch)
tree85bf340f0cac0bddb579d2b372372aad1b103d69 /sys/kern/makesyscalls.sh
parent7cd274c81285076071e52f95daa0d36e1e1403f5 (diff)
downloadFreeBSD-src-e3a23c9582367266c6a734c0c3746a8abf341dcb.zip
FreeBSD-src-e3a23c9582367266c6a734c0c3746a8abf341dcb.tar.gz
Remove the namespace column from the syscalls tables. We don't actually
use it, if we ever did. They have been been VERY poorly maintained for some time, possibly because they were a NOP. FWIW, This brings our table formats back closer to the other *BSD's.
Diffstat (limited to 'sys/kern/makesyscalls.sh')
-rw-r--r--sys/kern/makesyscalls.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index c790740..4097fa6 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -199,7 +199,7 @@ s/\$//g
exit 1
}
function parseline() {
- f=4 # toss number and type
+ f=3 # toss number and type
argc= 0;
argssize = "0"
if ($NF != "}") {
@@ -214,8 +214,8 @@ s/\$//g
end=NF
}
if ($2 == "NODEF") {
- funcname=$4
- argssize = "AS(" $6 ")"
+ funcname=$3
+ argssize = "AS(" $5 ")"
return
}
if ($f != "{")
@@ -274,9 +274,9 @@ s/\$//g
if (argc != 0)
argssize = "AS(" argalias ")"
}
- { comment = $4
- if (NF < 7)
- for (i = 5; i <= NF; i++)
+ { comment = $3
+ if (NF < 6)
+ for (i = 4; i <= NF; i++)
comment = comment " " $i
}
@@ -432,7 +432,7 @@ s/\$//g
align_sysent_comment(34)
printf("/* %d = obsolete %s */\n", syscall, comment) > sysent
printf("\t\"obs_%s\",\t\t\t/* %d = obsolete %s */\n",
- $4, syscall, comment) > sysnames
+ $3, syscall, comment) > sysnames
printf("\t\t\t\t/* %d is obsolete %s */\n",
syscall, comment) > syshdr
syscall++
OpenPOWER on IntegriCloud