When trying to open ".", treat ESTALE like EACCES.
[gnulib.git] / tests / test-array_list.c
index 3cd1e3e..b9de7ce 100644 (file)
 # include <config.h>
 #endif
 
+#include "gl_array_list.h"
+
 #include <stdlib.h>
 
-#include "gl_array_list.h"
 #include "progname.h"
 
 static const char *objects[15] =
@@ -70,10 +71,10 @@ main (int argc, char *argv[])
       contents[i] = RANDOM_OBJECT ();
 
     /* Create list1.  */
-    list1 = gl_list_create (GL_ARRAY_LIST, NULL, NULL, true,
+    list1 = gl_list_create (GL_ARRAY_LIST, NULL, NULL, NULL, true,
                             initial_size, contents);
     /* Create list2.  */
-    list2 = gl_list_create_empty (GL_ARRAY_LIST, NULL, NULL, true);
+    list2 = gl_list_create_empty (GL_ARRAY_LIST, NULL, NULL, NULL, true);
     for (i = 0; i < initial_size; i++)
       gl_list_add_last (list2, contents[i]);