Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pax-utils:master commit in: /
Date: Sun, 29 Jan 2023 03:42:00
Message-Id: 1674963711.ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee.sam@gentoo
1 commit: ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 03:41:09 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 03:41:51 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=ffedc60f
7
8 *: IWYU fixes deux
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dumpelf.c | 1 +
13 paxelf.c | 1 +
14 paxinc.c | 1 +
15 paxinc.h | 1 +
16 paxldso.c | 2 +-
17 paxldso.h | 2 --
18 paxmacho.c | 1 +
19 pspax.c | 1 +
20 scanelf.c | 1 +
21 scanmacho.c | 1 +
22 seccomp-bpf.c | 1 +
23 xfuncs.c | 1 +
24 12 files changed, 11 insertions(+), 3 deletions(-)
25
26 diff --git a/dumpelf.c b/dumpelf.c
27 index baa6358..877b0db 100644
28 --- a/dumpelf.c
29 +++ b/dumpelf.c
30 @@ -11,6 +11,7 @@ const char argv0[] = "dumpelf";
31 #include <getopt.h>
32 #include <inttypes.h>
33 #include <stdbool.h>
34 +#include <stddef.h>
35 #include <stdio.h>
36 #include <stdlib.h>
37 #include <string.h>
38
39 diff --git a/paxelf.c b/paxelf.c
40 index 0268fa4..b072ba0 100644
41 --- a/paxelf.c
42 +++ b/paxelf.c
43 @@ -7,6 +7,7 @@
44 */
45
46 #include <fcntl.h>
47 +#include <stddef.h>
48 #include <stdint.h>
49 #include <stdio.h>
50 #include <stdlib.h>
51
52 diff --git a/paxinc.c b/paxinc.c
53 index 7dfd4ca..f87e8a6 100644
54 --- a/paxinc.c
55 +++ b/paxinc.c
56 @@ -12,6 +12,7 @@
57 #include "paxinc.h"
58
59 #include <alloca.h>
60 +#include <stddef.h>
61 #include <fcntl.h>
62 #include <sys/stat.h>
63 #include <unistd.h>
64
65 diff --git a/paxinc.h b/paxinc.h
66 index 7eb6802..52bbefd 100644
67 --- a/paxinc.h
68 +++ b/paxinc.h
69 @@ -14,6 +14,7 @@
70 #include <byteswap.h>
71 #include <errno.h>
72 #include <stdbool.h>
73 +#include <stddef.h>
74 #include <stdio.h>
75 #include <stdlib.h>
76 #include <string.h>
77
78 diff --git a/paxldso.c b/paxldso.c
79 index acab364..d40d7ef 100644
80 --- a/paxldso.c
81 +++ b/paxldso.c
82 @@ -8,9 +8,9 @@
83
84 #include <ctype.h>
85 #include <fcntl.h>
86 -#include <features.h>
87 #include <glob.h>
88 #include <stdbool.h>
89 +#include <stddef.h>
90 #include <stdint.h>
91 #include <stdio.h>
92 #include <stdlib.h>
93
94 diff --git a/paxldso.h b/paxldso.h
95 index 1e95851..fd9f344 100644
96 --- a/paxldso.h
97 +++ b/paxldso.h
98 @@ -9,8 +9,6 @@
99 #ifndef _PAX_LDSO_H
100 #define _PAX_LDSO_H
101
102 -#include <features.h>
103 -
104 #include "paxelf.h"
105 #include "porting.h"
106 #include "xfuncs.h"
107
108 diff --git a/paxmacho.c b/paxmacho.c
109 index fcdff4b..39db1cb 100644
110 --- a/paxmacho.c
111 +++ b/paxmacho.c
112 @@ -9,6 +9,7 @@
113
114 #include <byteswap.h>
115 #include <fcntl.h>
116 +#include <stddef.h>
117 #include <stdint.h>
118 #include <stdlib.h>
119 #include <string.h>
120
121 diff --git a/pspax.c b/pspax.c
122 index 1e75494..369ed37 100644
123 --- a/pspax.c
124 +++ b/pspax.c
125 @@ -21,6 +21,7 @@ const char argv0[] = "pspax";
126 #include <getopt.h>
127 #include <pwd.h>
128 #include <stdbool.h>
129 +#include <stddef.h>
130 #include <stdint.h>
131 #include <stdio.h>
132 #include <stdlib.h>
133
134 diff --git a/scanelf.c b/scanelf.c
135 index ee990c9..d6bb14b 100644
136 --- a/scanelf.c
137 +++ b/scanelf.c
138 @@ -17,6 +17,7 @@ const char argv0[] = "scanelf";
139 #include <inttypes.h>
140 #include <regex.h>
141 #include <stdbool.h>
142 +#include <stddef.h>
143 #include <stdio.h>
144 #include <stdlib.h>
145 #include <string.h>
146
147 diff --git a/scanmacho.c b/scanmacho.c
148 index fa1eee1..c38c5ed 100644
149 --- a/scanmacho.c
150 +++ b/scanmacho.c
151 @@ -16,6 +16,7 @@ const char argv0[] = "scanmacho";
152 #include <fcntl.h>
153 #include <getopt.h>
154 #include <stdbool.h>
155 +#include <stddef.h>
156 #include <stdint.h>
157 #include <stdio.h>
158 #include <stdlib.h>
159
160 diff --git a/seccomp-bpf.c b/seccomp-bpf.c
161 index 1d64172..7c3923f 100644
162 --- a/seccomp-bpf.c
163 +++ b/seccomp-bpf.c
164 @@ -11,6 +11,7 @@ const char argv0[] = "seccomp-bpf";
165
166 #include <err.h>
167 #include <stdio.h>
168 +#include <stddef.h>
169 #include <stdlib.h>
170 #include <unistd.h>
171 #include <sys/mman.h>
172
173 diff --git a/xfuncs.c b/xfuncs.c
174 index e912fb0..a68756b 100644
175 --- a/xfuncs.c
176 +++ b/xfuncs.c
177 @@ -8,6 +8,7 @@
178
179 #include <errno.h>
180 #include <stdbool.h>
181 +#include <stddef.h>
182 #include <stdlib.h>
183 #include <string.h>