aboutsummaryrefslogtreecommitdiff
path: root/lib/librtld_db
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/librtld_db
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/librtld_db')
-rw-r--r--lib/librtld_db/rtld_db.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/librtld_db/rtld_db.c b/lib/librtld_db/rtld_db.c
index 2546f572780d..0c2130db973f 100644
--- a/lib/librtld_db/rtld_db.c
+++ b/lib/librtld_db/rtld_db.c
@@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/user.h>