Remove iBCS2: also remove xenix syscall function support.

Missed in r342243.
This commit is contained in:
Brooks Davis 2019-01-31 23:01:12 +00:00
parent b252313f0b
commit 12aec82c09

View File

@ -526,8 +526,7 @@ sed -e '
if (!flag("NOPROTO") && !flag("NODEF")) { if (!flag("NOPROTO") && !flag("NODEF")) {
if (funcname == "nosys" || funcname == "lkmnosys" || if (funcname == "nosys" || funcname == "lkmnosys" ||
funcname == "sysarch" || funcname ~ /^freebsd/ || funcname == "sysarch" || funcname ~ /^freebsd/ ||
funcname ~ /^linux/ || funcname ~ /^xenix/ || funcname ~ /^linux/ || funcname ~ /^cloudabi/) {
funcname ~ /^cloudabi/) {
printf("%s\t%s(struct thread *, struct %s *)", printf("%s\t%s(struct thread *, struct %s *)",
rettype, funcname, argalias) > sysdcl rettype, funcname, argalias) > sysdcl
} else { } else {
@ -546,8 +545,7 @@ sed -e '
} else { } else {
if (funcname == "nosys" || funcname == "sysarch" || if (funcname == "nosys" || funcname == "sysarch" ||
funcname == "lkmnosys" || funcname ~ /^freebsd/ || funcname == "lkmnosys" || funcname ~ /^freebsd/ ||
funcname ~ /^linux/ || funcname ~ /^xenix/ || funcname ~ /^linux/ || funcname ~ /^cloudabi/) {
funcname ~ /^cloudabi/) {
printf("%s, %s, NULL, 0, 0, %s, %s },", funcname, auditev, flags, thr_flag) > sysent printf("%s, %s, NULL, 0, 0, %s, %s },", funcname, auditev, flags, thr_flag) > sysent
column = column + length(funcname) + length(auditev) + length(flags) + 3 column = column + length(funcname) + length(auditev) + length(flags) + 3
} else { } else {