-static int glob0(const Char *, glob_t *, int *, locale_t);
-static int glob1(Char *, glob_t *, int *, locale_t);
-static int glob2(Char *, Char *, Char *, Char *, glob_t *, int *, locale_t);
-static int glob3(Char *, Char *, Char *, Char *, Char *, glob_t *, int *, locale_t);
-static int globexp1(const Char *, glob_t *, int *, locale_t);
-static int globexp2(const Char *, const Char *, glob_t *, int *, int *, locale_t);
+static int glob0(const Char *, glob_t *, struct glob_limit *, locale_t);
+static int glob1(Char *, glob_t *, struct glob_limit *, locale_t);
+static int glob2(Char *, Char *, Char *, Char *, glob_t *, struct glob_limit *, locale_t);
+static int glob3(Char *, Char *, Char *, Char *, Char *, glob_t *, struct glob_limit *, locale_t);
+static int globexp1(const Char *, glob_t *, struct glob_limit *, locale_t);
+static int globexp2(const Char *, const Char *, glob_t *, int *, struct glob_limit *, locale_t);