diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2024-10-01 17:01:50 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2024-10-01 17:44:03 +0000 |
commit | 0d490c6a445a5e94e5d50b65aa96ab72eeafe15f (patch) | |
tree | d3e61f05f359dfd86be4d53100affc68fcd30163 | |
parent | 13227efc5b034bfa31c90a3b75f9d006c77c6c90 (diff) | |
download | src-0d490c6a445a5e94e5d50b65aa96ab72eeafe15f.tar.gz src-0d490c6a445a5e94e5d50b65aa96ab72eeafe15f.zip |
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.
-rw-r--r-- | sys/tools/makesyscalls.lua | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua index fcabe8e5e284..5e6c40c801d4 100644 --- a/sys/tools/makesyscalls.lua +++ b/sys/tools/makesyscalls.lua @@ -1533,13 +1533,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)) @@ -1549,7 +1555,7 @@ write_line("libsys_h", string.format([[/* * * Do not use directly, include <libsys.h> instead. * - * DO NOT EDIT-- this file is automatically %s. + * DO NOT EDIT-- this file is automatically %s. */ #ifndef __LIBSYS_H_ #define __LIBSYS_H_ @@ -1568,8 +1574,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 |