diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2008-11-08 16:01:51 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2008-11-08 16:01:51 +0100 |
| commit | 809b43cb3bac52ad87228a458dcd3dbf11180c97 (patch) | |
| tree | ffc51f2d9fa6a76e85170bb0ac1279931e722a4c /match/match.h | |
| parent | 9f6a75a35de8d05a8ae2e8b5d5cd10d960d4de4b (diff) | |
cleanup
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'match/match.h')
| -rw-r--r-- | match/match.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/match/match.h b/match/match.h index 8936de4..03bf600 100644 --- a/match/match.h +++ b/match/match.h | |||
| @@ -13,6 +13,10 @@ | |||
| 13 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) | 13 | #define MIN(a, b) ((a) < (b) ? (a) : (b)) |
| 14 | #define MAX(a, b) ((a) < (b) ? (b) : (a)) | 14 | #define MAX(a, b) ((a) < (b) ? (b) : (a)) |
| 15 | 15 | ||
| 16 | #define GETBIT(m, x) ((m>>(x))&1U) | ||
| 17 | #define SETBIT(m, x) (m|=(1U<<(x))) | ||
| 18 | #define CLEARBIT(m, x) (m&=~(1U<<(x))) | ||
| 19 | |||
| 16 | typedef int bool; | 20 | typedef int bool; |
| 17 | 21 | ||
| 18 | //////////////////////////////////////////////////////// | 22 | //////////////////////////////////////////////////////// |
