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/geom | |
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/geom')
-rw-r--r-- | sbin/geom/core/geom.c | 1 | ||||
-rw-r--r-- | sbin/geom/misc/subr.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c index ccaf7adca305..950f6790b1a8 100644 --- a/sbin/geom/core/geom.c +++ b/sbin/geom/core/geom.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/linker.h> #include <sys/module.h> diff --git a/sbin/geom/misc/subr.c b/sbin/geom/misc/subr.c index 2d3db86c943f..18bac7108ed0 100644 --- a/sbin/geom/misc/subr.c +++ b/sbin/geom/misc/subr.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/disk.h> #include <sys/endian.h> |