aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 05:40:05 +0000
committerSam James <sam@gentoo.org>2023-01-29 05:56:32 +0000
commit755a512e6a3c2b015b8d54dc98f2f48bb9dd3971 (patch)
treedb89c83c7bf0972b80df309bb8f04bb14d08fd73 /scanelf.c
parent.github: add Alpine CI (diff)
downloadpax-utils-755a512e6a3c2b015b8d54dc98f2f48bb9dd3971.tar.gz
pax-utils-755a512e6a3c2b015b8d54dc98f2f48bb9dd3971.tar.bz2
pax-utils-755a512e6a3c2b015b8d54dc98f2f48bb9dd3971.zip
Undo IWYU fixes
I wasn't paying enough attention, it's better to just fold the needed bits into porting.h. This reverts commit ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee. This reverts commit f8287200aec0ca33ef07fafcdd5aef0aa6eb1306. This reverts commit aa907a42d89ddfd5a7e64d8182a1da35277f2f6e. Bug: https://github.com/gentoo/pax-utils/pull/11#issuecomment-1407566344 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'scanelf.c')
-rw-r--r--scanelf.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/scanelf.c b/scanelf.c
index d6bb14b..50497b2 100644
--- a/scanelf.c
+++ b/scanelf.c
@@ -8,30 +8,7 @@
const char argv0[] = "scanelf";
-#include <ctype.h>
-#include <dirent.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <fnmatch.h>
-#include <getopt.h>
-#include <inttypes.h>
-#include <regex.h>
-#include <stdbool.h>
-#include <stddef.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/mman.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
#include "paxinc.h"
-#include "elf.h"
-#include "pax_utils_version.h"
-#include "paxldso.h"
-#include "porting.h"
-#include "security.h"
-#include "xfuncs.h"
#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+')