ipset: replace patch that was reverted upstream
[openwrt/staging/lynxis.git] / package / network / utils / ipset / patches / 001-Replace-the-last-reference-to-u_int8_t-with-uint8_t.patch
1 From a4212bf911026740afc7fce98d9100e2ef5dcea0 Mon Sep 17 00:00:00 2001
2 From: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
3 Date: Tue, 26 Sep 2017 07:00:13 +0200
4 Subject: [PATCH] Replace the last reference to u_int8_t with uint8_t.
5
6 ---
7 src/ipset.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/src/ipset.c b/src/ipset.c
11 index 79f56b8..df0778a 100644
12 --- a/src/ipset.c
13 +++ b/src/ipset.c
14 @@ -282,7 +282,7 @@ call_parser(int *argc, char *argv[], const struct ipset_type *type,
15 const struct ipset_arg *arg;
16 const char *optstr;
17 const struct ipset_type *t = type;
18 - u_int8_t revision = type->revision;
19 + uint8_t revision = type->revision;
20 int ret = 0, i = 1;
21
22 /* Currently CREATE and ADT may have got additional arguments */
23 --
24 2.13.5
25