git: 0cba6880787a - main - makeobjops.awk: Style nits in generated files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Sep 2025 15:35:40 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=0cba6880787a2c18c2c4f045e0c9f0d02b81e88c commit 0cba6880787a2c18c2c4f045e0c9f0d02b81e88c Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2025-09-08 15:33:28 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2025-09-08 15:33:28 +0000 makeobjops.awk: Style nits in generated files MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D52407 --- sys/tools/makeobjops.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/tools/makeobjops.awk b/sys/tools/makeobjops.awk index 5ea658c5a3b3..522fb04ec4d1 100644 --- a/sys/tools/makeobjops.awk +++ b/sys/tools/makeobjops.awk @@ -315,7 +315,7 @@ function handle_method (static, doc) printh("\t" join(";\n\t", arguments, num_arguments) ";"); } else { - prototype = "static __inline " ret " " umname "("; + prototype = "static __inline " ret "\n" umname "("; printh(format_line(prototype argument_list ")", line_width, length(prototype))); } @@ -327,7 +327,7 @@ function handle_method (static, doc) firstvar = "((kobj_t)" firstvar ")"; if (prolog != "") printh(prolog); - printh("\tKOBJOPLOOKUP(" firstvar "->ops," mname ");"); + printh("\tKOBJOPLOOKUP(" firstvar "->ops, " mname ");"); rceq = (ret != "void") ? "rc = " : ""; printh("\t" rceq "((" mname "_t *) _m)(" varname_list ");"); if (epilog != "")