aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsnmpd/modules
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-11-24 20:12:57 +0000
committerWarner Losh <imp@FreeBSD.org>2023-11-27 05:24:01 +0000
commit4d65a7c6951cea0333f1a0c1b32c38489cdfa6c5 (patch)
tree68b10d2a903d8049a37b5ce2b7d101f493060dcb /usr.sbin/bsnmpd/modules
parent5e3934b15a2741b2de6b217e77dc9d798d740804 (diff)
downloadsrc-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/bsnmpd/modules')
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_hast/hast_snmp.c1
-rw-r--r--usr.sbin/bsnmpd/modules/snmp_lm75/snmp_lm75.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/bsnmpd/modules/snmp_hast/hast_snmp.c b/usr.sbin/bsnmpd/modules/snmp_hast/hast_snmp.c
index 74ddd48cd31d..4332f02156c1 100644
--- a/usr.sbin/bsnmpd/modules/snmp_hast/hast_snmp.c
+++ b/usr.sbin/bsnmpd/modules/snmp_hast/hast_snmp.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/queue.h>
diff --git a/usr.sbin/bsnmpd/modules/snmp_lm75/snmp_lm75.c b/usr.sbin/bsnmpd/modules/snmp_lm75/snmp_lm75.c
index d3e1dcf051cb..0d0fdb1ce670 100644
--- a/usr.sbin/bsnmpd/modules/snmp_lm75/snmp_lm75.c
+++ b/usr.sbin/bsnmpd/modules/snmp_lm75/snmp_lm75.c
@@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/sysctl.h>