aboutsummaryrefslogtreecommitdiff
path: root/lib/libexecinfo
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/libexecinfo
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/libexecinfo')
-rw-r--r--lib/libexecinfo/tests/sigtramp_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libexecinfo/tests/sigtramp_test.c b/lib/libexecinfo/tests/sigtramp_test.c
index b8eecfddf43d..a4943d8d7f4f 100644
--- a/lib/libexecinfo/tests/sigtramp_test.c
+++ b/lib/libexecinfo/tests/sigtramp_test.c
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: BSD-2-Clause
*/
-#include <sys/cdefs.h>
+
#include <sys/param.h>
#include <sys/wait.h>