git: 0d490c6a445a - main - sysent: make header comments more consistent
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Oct 2024 17:47:29 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=0d490c6a445a5e94e5d50b65aa96ab72eeafe15f
commit 0d490c6a445a5e94e5d50b65aa96ab72eeafe15f
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-10-01 17:01:50 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-10-01 17:44:03 +0000
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.
---
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 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