diff options
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,9 +8,9 @@ #define UTIL_H #define MAX(A, B) ((A) > (B) ? (A) : (B)) -#define ARRAY_SIZE(A) (sizeof(A)/sizeof(*(A))) +#define ARRAY_SIZE(A) (sizeof(A) / sizeof(*(A))) #define PUBLIC __attribute__((visibility("default"))) -#define ALIGN(A, B) (((A) + (B) - 1) / (B) * (B)) -#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) +#define ALIGN(A, B) (((A) + (B)-1) / (B) * (B)) +#define DIV_ROUND_UP(n, d) (((n) + (d)-1) / (d)) #endif |