diff options
author | Warner Losh <imp@FreeBSD.org> | 2023-11-24 20:12:57 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-11-27 05:24:01 +0000 |
commit | 5e3934b15a2741b2de6b217e77dc9d798d740804 (patch) | |
tree | 1bea4bfdf9ea7abd8c1a4707687893e02a1ae2eb /usr.bin/lastcomm | |
parent | 6bfca4dcab07dad45a805879d954876b353c0810 (diff) | |
download | src-5e3934b15a2741b2de6b217e77dc9d798d740804.tar.gz src-5e3934b15a2741b2de6b217e77dc9d798d740804.zip |
usr.bin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
Diffstat (limited to 'usr.bin/lastcomm')
-rw-r--r-- | usr.bin/lastcomm/readrec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/lastcomm/readrec.c b/usr.bin/lastcomm/readrec.c index b99e76645402..a8665a6f76ac 100644 --- a/usr.bin/lastcomm/readrec.c +++ b/usr.bin/lastcomm/readrec.c @@ -27,7 +27,6 @@ * */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/types.h> |