1.1 --- a/librazor/razor-internal.h Mon Jun 23 17:19:20 2008 -0400
1.2 +++ b/librazor/razor-internal.h Thu Jun 26 18:41:55 2008 -0400
1.3 @@ -11,6 +11,8 @@
1.4 #define RAZOR_EXPORT
1.5 #endif
1.6
1.7 +#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
1.8 +#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1))
1.9
1.10 void *zalloc(size_t size);
1.11
1.12 @@ -172,8 +174,6 @@
1.13 struct list *index;
1.14 };
1.15
1.16 -#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1))
1.17 -
1.18 struct razor_entry *
1.19 razor_set_find_entry(struct razor_set *set,
1.20 struct razor_entry *dir, const char *pattern);