aboutsummaryrefslogtreecommitdiff
path: root/include/glob.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2006-05-22 05:39:57 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2006-05-22 05:39:57 +0000
commitfa9ad9461acfab5c3620793b2ea9e1534caf0cae (patch)
treea5aee5d00bc4c4ec0f57a8ade5a4a438bec0b389 /include/glob.h
parent55cd304ad1493a64d8f20192fc377516df1cb816 (diff)
downloadsrc-fa9ad9461acfab5c3620793b2ea9e1534caf0cae.tar.gz
src-fa9ad9461acfab5c3620793b2ea9e1534caf0cae.zip
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
Notes
Notes: svn path=/head/; revision=158810
Diffstat (limited to 'include/glob.h')
-rw-r--r--include/glob.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/glob.h b/include/glob.h
index 0cfa2df0d8ae..dad7d0c6adb9 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -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. */