Skip to content

Commit

Permalink
sysent: make header comments more consistent
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
brooksdavis authored and bsdjhb committed Oct 23, 2024
1 parent b430b0a commit 2b2b0e3
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions sys/tools/makesyscalls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -1590,7 +1596,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_
Expand All @@ -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
Expand Down

0 comments on commit 2b2b0e3

Please sign in to comment.