utils.h: Avoid name clashes for setbit/delbit/hasbit
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 2 Sep 2016 02:10:15 +0000 (19:10 -0700)
committerJohn Crispin <john@phrozen.org>
Sun, 18 Sep 2016 12:06:00 +0000 (14:06 +0200)
commit18f4c6fda6afb912f53ded3112b1f270ddf5ff6c
treef21d8229d87b04b0b60c0ee3f667e3e3a4bc0544
parent6818f758fe8b0de9eae45adf4bae91a312cc8f0c
utils.h: Avoid name clashes for setbit/delbit/hasbit

Rename to fw3_{set,del,has}bit to avoid name clashes with sys/param.h:

/opt/toolchains/stbgcc-4.8-1.5/arm-linux-gnueabihf/sys-root/usr/include/sys/param.h:80:0: note: this is the location of the previous definition
 #define setbit(a,i)     ((a)[(i)/NBBY] |= 1<<((i)%NBBY))

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
defaults.c
forwards.c
iptables.c
options.c
rules.c
utils.h
zones.c