From 809b43cb3bac52ad87228a458dcd3dbf11180c97 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sat, 8 Nov 2008 16:01:51 +0100 Subject: cleanup Signed-off-by: Henrik Rydberg --- match/match.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'match/match.c') diff --git a/match/match.c b/match/match.c index 604faaf..44297d9 100644 --- a/match/match.c +++ b/match/match.c @@ -12,13 +12,9 @@ const float BIG_VALUE = 1e20; typedef unsigned short col_t; -#define GETBIT2(m, row, col) ((m[col]>>row)&1U) -#define SETBIT2(m, row, col) (m[col]|=(1U<>x)&1U) -#define SETBIT(m, x) (m|=(1U<>(row))&1U) +#define SETBIT2(m, row, col) (m[col]|=(1U<<(row))) +#define CLEARBIT2(m, row, col) (m[col]&=~(1U<<(row))) /********************************************************/ -- cgit v1.2.3