aboutsummaryrefslogtreecommitdiff
path: root/lib/libdevinfo
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:23:59 +0000
commita2f733abcff64628b7771a47089628b7327a88bd (patch)
tree82d32de87b0381c9e3904e1c09f0ddbbc442182a /lib/libdevinfo
parent33ccf366718d189f206f1ed6c43cbcb7b50a2e6c (diff)
downloadsrc-a2f733abcff64628b7771a47089628b7327a88bd.tar.gz
src-a2f733abcff64628b7771a47089628b7327a88bd.zip
lib: 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 'lib/libdevinfo')
-rw-r--r--lib/libdevinfo/devinfo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libdevinfo/devinfo.h b/lib/libdevinfo/devinfo.h
index 32af3a0398a9..07e2043d43ce 100644
--- a/lib/libdevinfo/devinfo.h
+++ b/lib/libdevinfo/devinfo.h
@@ -30,7 +30,6 @@
#ifndef _DEVINFO_H_INCLUDED
#define _DEVINFO_H_INCLUDED
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/bus.h>