makesyscalls: strip _Contains_ argument annotations

Reviewed by:	kevans
This commit is contained in:
Brooks Davis 2021-11-22 22:36:58 +00:00
parent 64cc9803ab
commit f260a69dec

View File

@ -632,6 +632,7 @@ local function align_sysent_comment(col)
end
local function strip_arg_annotations(arg)
arg = arg:gsub("_Contains_[^ ]*[_)] ?", "")
arg = arg:gsub("_In[^ ]*[_)] ?", "")
arg = arg:gsub("_Out[^ ]*[_)] ?", "")
return trim(arg)