aboutsummaryrefslogtreecommitdiff
path: root/sbin/zfsbootcfg
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
commit32e86a82f54826f14ea381affa6674db3aa3b5ae (patch)
treea101eaa8ce067e6f1f7290d8e2cfc41af62511b1 /sbin/zfsbootcfg
parenta6fe717c2a876105123214c05176cd74106fb94b (diff)
downloadsrc-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/zfsbootcfg')
-rw-r--r--sbin/zfsbootcfg/zfsbootcfg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/zfsbootcfg/zfsbootcfg.c b/sbin/zfsbootcfg/zfsbootcfg.c
index 0c1e9e0f7ea1..03b028a9ab71 100644
--- a/sbin/zfsbootcfg/zfsbootcfg.c
+++ b/sbin/zfsbootcfg/zfsbootcfg.c
@@ -23,7 +23,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <errno.h>
#include <limits.h>