aboutsummaryrefslogtreecommitdiff
path: root/sys/tools/syscalls/scripts/syscalls_map.lua
diff options
context:
space:
mode:
Diffstat (limited to 'sys/tools/syscalls/scripts/syscalls_map.lua')
-rwxr-xr-xsys/tools/syscalls/scripts/syscalls_map.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/tools/syscalls/scripts/syscalls_map.lua b/sys/tools/syscalls/scripts/syscalls_map.lua
index 57bb5e9da93b..023b43052921 100755
--- a/sys/tools/syscalls/scripts/syscalls_map.lua
+++ b/sys/tools/syscalls/scripts/syscalls_map.lua
@@ -38,7 +38,7 @@ function syscalls_map.generate(tbl, config, fh)
for _, v in pairs(s) do
--print("num " .. v.num .. " name " .. v.name)
- if v:native() and not v.type.NODEF and v.name ~= "yield" then
+ if v:native() and not v.type.NODEF and not v.type.NOLIB then
if v.name ~= "exit" and v.name ~= "vfork" then
gen:write(string.format("\t_%s;\n", v.name))
end