diff options
Diffstat (limited to 'pixman/test/fetch-test.c')
-rw-r--r-- | pixman/test/fetch-test.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pixman/test/fetch-test.c b/pixman/test/fetch-test.c index 9f80eec1b..04e8cc583 100644 --- a/pixman/test/fetch-test.c +++ b/pixman/test/fetch-test.c @@ -1,11 +1,7 @@ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <assert.h> #include <stdlib.h> #include <stdio.h> -#include "pixman.h" +#include "utils.h" #define SIZE 1024 @@ -107,7 +103,7 @@ static testcase_t testcases[] = }, }; -int n_test_cases = sizeof(testcases)/sizeof(testcases[0]); +int n_test_cases = ARRAY_LENGTH (testcases); static uint32_t |