From 2b2b0e3cff3729c4c7bc8a1e1b7c98e02023492a Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Tue, 1 Oct 2024 18:01:50 +0100 Subject: [PATCH] sysent: make header comments more consistent An upcoming refactor appends do-not-merge comments to all headers centrally to do the same to reduce the final diff. Headers also start with a comment line (for /*) and end with a blank line. (cherry picked from commit 0d490c6a445a5e94e5d50b65aa96ab72eeafe15f) --- sys/tools/makesyscalls.lua | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua index 5ec677f1fcfd..79372592ee93 100644 --- a/sys/tools/makesyscalls.lua +++ b/sys/tools/makesyscalls.lua @@ -1574,13 +1574,19 @@ write_line("syshdr", string.format([[/* ]], generated_tag)) -write_line("sysmk", string.format([[# FreeBSD system call object files. +write_line("sysmk", string.format([[ +# +# FreeBSD system call object files. +# # DO NOT EDIT-- this file is automatically %s. +# + MIASM = ]], generated_tag)) write_line("libsysmap", string.format([[/* * FreeBSD system call symbols. - * DO NOT EDIT-- this file is automatically %s. + * + * DO NOT EDIT-- this file is automatically %s. */ FBSDprivate_1.0 { ]], generated_tag)) @@ -1590,7 +1596,7 @@ write_line("libsys_h", string.format([[/* * * Do not use directly, include instead. * - * DO NOT EDIT-- this file is automatically %s. + * DO NOT EDIT-- this file is automatically %s. */ #ifndef __LIBSYS_H_ #define __LIBSYS_H_ @@ -1609,8 +1615,9 @@ write_line("libsys_h", string.format([[/* write_line("systrace", string.format([[/* * System call argument to DTrace register array converstion. * - * DO NOT EDIT-- this file is automatically %s. * This file is part of the DTrace syscall provider. + * + * DO NOT EDIT-- this file is automatically %s. */ static void