Date: Mon, 22 Nov 2021 22:38:02 GMT From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f260a69decbe - main - makesyscalls: strip _Contains_ argument annotations Message-ID: <202111222238.1AMMc2SB047573@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111222238.1AMMc2SB047573>