libexec: 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
This commit is contained in:
Warner Losh
2023-11-24 13:12:57 -07:00
parent a2f733abcf
commit a6fe717c2a
33 changed files with 1 additions and 68 deletions
-1
View File
@@ -37,7 +37,6 @@ SOFTWARE.
* See ./ToDo
*/
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
-1
View File
@@ -30,7 +30,6 @@ SOFTWARE.
* one subnet to a BOOTP server on a different subnet.
*/
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
-1
View File
@@ -39,7 +39,6 @@
* from arp.c 8.2 (Berkeley) 1/2/94
*/
#include <sys/cdefs.h>
#include <sys/param.h>
/*
* Verify that we are at least 4.4 BSD