diff --git a/userspace/libraries/LibC/include/glob.h b/userspace/libraries/LibC/include/glob.h index 60462d2a..183e0ffe 100644 --- a/userspace/libraries/LibC/include/glob.h +++ b/userspace/libraries/LibC/include/glob.h @@ -22,12 +22,12 @@ __BEGIN_DECLS #define GLOB_NOMATCH 2 #define GLOB_NOSPACE 3 -struct glob_t +typedef struct { size_t gl_pathc; /* Count of paths matched by pattern. */ char** gl_pathv; /* Pointer to a list of matched pathnames. */ size_t gl_offs; /* Slots to reserve at the beginning of gl_pathv. */ -}; +} glob_t; int glob(const char* __restrict pattern, int flags, int (*errfunc)(const char* epath, int eerrno), glob_t* __restrict pglob); void globfree(glob_t* pglob);