librazor/razor-internal.h
changeset 275 1862b95f4cd6
parent 269 03fc85294bc9
child 300 455eaa569767
     1.1 --- a/librazor/razor-internal.h	Mon Jun 23 17:19:20 2008 -0400
     1.2 +++ b/librazor/razor-internal.h	Mon Jun 23 20:09:56 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);