]> git.wh0rd.org - patches.git/blame - linux-netfilter-dont-use-type-names.patch
more random patches. who knows.
[patches.git] / linux-netfilter-dont-use-type-names.patch
CommitLineData
5e993f12 1Use diff variable names than the standard type so we can run automated script
2checks on the code to easily pull out export violations.
3
4Signed-off-by: Mike Frysinger <vapier@gentoo.org>
5
6--- a/include/linux/netfilter/x_tables.h
7+++ b/include/linux/netfilter/x_tables.h
8@@ -82,10 +84,10 @@ struct xt_get_revision
9 */
10 struct _xt_align
11 {
12- u_int8_t u8;
13- u_int16_t u16;
14- u_int32_t u32;
15- u_int64_t u64;
16+ u_int8_t align_u8;
17+ u_int16_t align_u16;
18+ u_int32_t align_u32;
19+ u_int64_t align_u64;
20 };
21
22 #define XT_ALIGN(s) (((s) + (__alignof__(struct _xt_align)-1)) \