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 | 4d65a7c6951cea0333f1a0c1b32c38489cdfa6c5 (patch) | |
tree | 68b10d2a903d8049a37b5ce2b7d101f493060dcb /usr.sbin/pmc | |
parent | 5e3934b15a2741b2de6b217e77dc9d798d740804 (diff) | |
download | src-4d65a7c6951cea0333f1a0c1b32c38489cdfa6c5.tar.gz src-4d65a7c6951cea0333f1a0c1b32c38489cdfa6c5.zip |
usr.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 'usr.sbin/pmc')
-rw-r--r-- | usr.sbin/pmc/cmd_pmc_filter.cc | 1 | ||||
-rw-r--r-- | usr.sbin/pmc/cmd_pmc_list.c | 1 | ||||
-rw-r--r-- | usr.sbin/pmc/cmd_pmc_stat.c | 1 | ||||
-rw-r--r-- | usr.sbin/pmc/cmd_pmc_summary.cc | 1 | ||||
-rw-r--r-- | usr.sbin/pmc/pmc_util.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/pmc/cmd_pmc_filter.cc b/usr.sbin/pmc/cmd_pmc_filter.cc index 286d9cc97da6..11ab2dc3c964 100644 --- a/usr.sbin/pmc/cmd_pmc_filter.cc +++ b/usr.sbin/pmc/cmd_pmc_filter.cc @@ -26,7 +26,6 @@ * */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/cpuset.h> #include <sys/event.h> diff --git a/usr.sbin/pmc/cmd_pmc_list.c b/usr.sbin/pmc/cmd_pmc_list.c index 9701abd66796..a1da6a8e732d 100644 --- a/usr.sbin/pmc/cmd_pmc_list.c +++ b/usr.sbin/pmc/cmd_pmc_list.c @@ -26,7 +26,6 @@ * */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/cpuset.h> #include <sys/event.h> diff --git a/usr.sbin/pmc/cmd_pmc_stat.c b/usr.sbin/pmc/cmd_pmc_stat.c index 659b36137724..1e5c14e61857 100644 --- a/usr.sbin/pmc/cmd_pmc_stat.c +++ b/usr.sbin/pmc/cmd_pmc_stat.c @@ -26,7 +26,6 @@ * */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/cpuset.h> #include <sys/event.h> diff --git a/usr.sbin/pmc/cmd_pmc_summary.cc b/usr.sbin/pmc/cmd_pmc_summary.cc index 9f7e36c694b7..610c1fee7f0d 100644 --- a/usr.sbin/pmc/cmd_pmc_summary.cc +++ b/usr.sbin/pmc/cmd_pmc_summary.cc @@ -26,7 +26,6 @@ * */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/cpuset.h> #include <sys/event.h> diff --git a/usr.sbin/pmc/pmc_util.c b/usr.sbin/pmc/pmc_util.c index 03e9a7554fbe..40f2b9caeef3 100644 --- a/usr.sbin/pmc/pmc_util.c +++ b/usr.sbin/pmc/pmc_util.c @@ -31,7 +31,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/param.h> #include <sys/cpuset.h> #include <sys/event.h> |