diff options
Diffstat (limited to 'tests/test-glob.c')
-rw-r--r-- | tests/test-glob.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/test-glob.c b/tests/test-glob.c index 50b20ea6a6..cd21b5c371 100644 --- a/tests/test-glob.c +++ b/tests/test-glob.c @@ -20,15 +20,14 @@ #include <glob.h> -#include <errno.h> -#include <unistd.h> - #include "signature.h" SIGNATURE_CHECK (glob, int, (char const *, int, int (*) (char const *, int), glob_t *)); SIGNATURE_CHECK (globfree, void, (glob_t *)); +#include <errno.h> #include <string.h> +#include <unistd.h> #include "macros.h" @@ -41,11 +40,6 @@ main () int res; glob_t g; - /* Make sure glob_t struct members exists. */ - ASSERT (sizeof (g.gl_pathc)); - ASSERT (sizeof (g.gl_pathv)); - ASSERT (sizeof (g.gl_offs)); - res = glob (".", 0, NULL, &g); ASSERT (res == 0 && g.gl_pathc == 1); globfree (&g); |