git: f260a69decbe - main - makesyscalls: strip _Contains_ argument annotations
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Nov 2021 22:38:02 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=f260a69decbec827f0cd9b8169fc5b5194e289a8 commit f260a69decbec827f0cd9b8169fc5b5194e289a8 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2021-11-22 22:36:58 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2021-11-22 22:36:58 +0000 makesyscalls: strip _Contains_ argument annotations Reviewed by: kevans --- sys/tools/makesyscalls.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua index 386a79e44eeb..e8f882f6641d 100644 --- a/sys/tools/makesyscalls.lua +++ b/sys/tools/makesyscalls.lua @@ -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)