diff -r 03fc85294bc9 -r 6e19775d8930 librazor/razor-internal.h --- a/librazor/razor-internal.h Mon Jun 23 17:19:20 2008 -0400 +++ b/librazor/razor-internal.h Wed Jun 25 20:53:48 2008 -0400 @@ -11,6 +11,8 @@ #define RAZOR_EXPORT #endif +#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) +#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1)) void *zalloc(size_t size); @@ -172,8 +174,6 @@ struct list *index; }; -#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1)) - struct razor_entry * razor_set_find_entry(struct razor_set *set, struct razor_entry *dir, const char *pattern);