git: 37b425bd05ef - main - makesyscalls: intptr_t arguments are pointers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Nov 2021 22:37:48 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=37b425bd05ef43fb6d874a1b454950d701669ba5
commit 37b425bd05ef43fb6d874a1b454950d701669ba5
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2021-11-22 22:36:56 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2021-11-22 22:36:56 +0000
makesyscalls: intptr_t arguments are pointers
Match intptr_t arguments as pointers. Currently this is a no-op
change to systrace_args.c.
Reviewed by: kevans
---
sys/tools/makesyscalls.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua
index fef991296316..f967bd84fa87 100644
--- a/sys/tools/makesyscalls.lua
+++ b/sys/tools/makesyscalls.lua
@@ -399,8 +399,8 @@ local function write_line_pfile(tmppat, line)
end
local function isptrtype(type)
- return type:find("*") or type:find("caddr_t")
- -- XXX NOTYET: or type:find("intptr_t")
+ return type:find("*") or type:find("caddr_t") or
+ type:find("intptr_t")
end
local process_syscall_def