Make gl_offs size_t too, as required by POSIX

Make non-standard gl_matchc in the similar fashion as gl_pathc size_t too,
like done in NetBSD & others
This commit is contained in:
Andrey A. Chernov 2006-05-22 05:39:57 +00:00
parent 55cd304ad1
commit fa9ad9461a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158810

View File

@ -45,8 +45,8 @@
struct stat;
typedef struct {
size_t gl_pathc; /* Count of total paths so far. */
int gl_matchc; /* Count of paths matching pattern. */
int gl_offs; /* Reserved at beginning of gl_pathv. */
size_t gl_matchc; /* Count of paths matching pattern. */
size_t gl_offs; /* Reserved at beginning of gl_pathv. */
int gl_flags; /* Copy of flags parameter to glob. */
char **gl_pathv; /* List of paths matching pattern. */
/* Copy of errfunc parameter to glob. */