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:23:59 +0000 |
commit | 32e86a82f54826f14ea381affa6674db3aa3b5ae (patch) | |
tree | a101eaa8ce067e6f1f7290d8e2cfc41af62511b1 /sbin/kldconfig/kldconfig.c | |
parent | a6fe717c2a876105123214c05176cd74106fb94b (diff) | |
download | src-32e86a82f54826f14ea381affa6674db3aa3b5ae.tar.gz src-32e86a82f54826f14ea381affa6674db3aa3b5ae.zip |
sbin: 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 'sbin/kldconfig/kldconfig.c')
-rw-r--r-- | sbin/kldconfig/kldconfig.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/kldconfig/kldconfig.c b/sbin/kldconfig/kldconfig.c index 27956a961ccf..570ca5cbf713 100644 --- a/sbin/kldconfig/kldconfig.c +++ b/sbin/kldconfig/kldconfig.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/types.h> #include <sys/queue.h> |