diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2009-08-21 16:03:50 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2009-08-21 16:03:50 +0200 |
commit | 91d4031f78382a4cd5cf8666c7f985e2728e8578 (patch) | |
tree | 36f66537165177bab53847c482bab23399b09504 /kernel/ip_set_setlist.c | |
parent | b1eb3639064583758c56a98850b4efec5e9fc165 (diff) |
New release again, to fix a mistyping of me and get rid of bool.v3.2
Diffstat (limited to 'kernel/ip_set_setlist.c')
-rw-r--r-- | kernel/ip_set_setlist.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/kernel/ip_set_setlist.c b/kernel/ip_set_setlist.c index 612f81f..2b1c6b6 100644 --- a/kernel/ip_set_setlist.c +++ b/kernel/ip_set_setlist.c @@ -16,17 +16,12 @@ #include <linux/netfilter_ipv4/ip_set_bitmaps.h> #include <linux/netfilter_ipv4/ip_set_setlist.h> -#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 18) -typedef _Bool bool; -enum { false = 0, true = 1, }; -#endif - /* * before ==> index, ref * after ==> ref, index */ -static inline bool +static inline int next_index_eq(const struct ip_set_setlist *map, int i, ip_set_id_t index) { return i < map->size && map->index[i] == index; @@ -175,7 +170,7 @@ setlist_kadd(struct ip_set *set, return res; } -static inline bool +static inline int unshift_setlist(struct ip_set_setlist *map, int i) { int j; |