aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/m4
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
commit5e3934b15a2741b2de6b217e77dc9d798d740804 (patch)
tree1bea4bfdf9ea7abd8c1a4707687893e02a1ae2eb /usr.bin/m4
parent6bfca4dcab07dad45a805879d954876b353c0810 (diff)
downloadsrc-5e3934b15a2741b2de6b217e77dc9d798d740804.tar.gz
src-5e3934b15a2741b2de6b217e77dc9d798d740804.zip
usr.bin: 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.bin/m4')
-rw-r--r--usr.bin/m4/misc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/m4/misc.c b/usr.bin/m4/misc.c
index 4533e106a37f..d641ec56afeb 100644
--- a/usr.bin/m4/misc.c
+++ b/usr.bin/m4/misc.c
@@ -35,7 +35,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>