From 45a73b00de16fe982c3270e09717196f8b32483b Mon Sep 17 00:00:00 2001 From: Bananymous Date: Mon, 11 Aug 2025 18:47:55 +0300 Subject: [PATCH] LibC: Make glob_t a typedef --- userspace/libraries/LibC/include/glob.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);