]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
secure: Automated cleanup of cdefs and other formatting
authorWarner Losh <imp@FreeBSD.org>
Fri, 24 Nov 2023 20:12:57 +0000 (13:12 -0700)
committerWarner Losh <imp@FreeBSD.org>
Mon, 27 Nov 2023 05:23:59 +0000 (22:23 -0700)
commitc8813424c9d126a6a743269f6e092d4fd8b39e0a
tree56bb7f7a15daac462827a466050b1b2a7a3d84f6
parent32e86a82f54826f14ea381affa6674db3aa3b5ae
secure: 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
secure/lib/libcrypt/crypt-des.c