diff options
author | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
commit | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (patch) | |
tree | 856b0dee3f2764c13a32dad5ffe2424fab7fef41 /openbsd-compat/glob.h | |
parent | 4213eec74e74de6310c27a40c3e9759a08a73996 (diff) | |
parent | 8aa3455b16fddea4c0144a7c4a1edb10ec67dcc8 (diff) |
Import openssh_8.2p1.orig.tar.gz
Diffstat (limited to 'openbsd-compat/glob.h')
-rw-r--r-- | openbsd-compat/glob.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/openbsd-compat/glob.h b/openbsd-compat/glob.h index f069a05dc..1692d36cc 100644 --- a/openbsd-compat/glob.h +++ b/openbsd-compat/glob.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: glob.h,v 1.11 2010/09/24 13:32:55 djm Exp $ */ | 1 | /* $OpenBSD: glob.h,v 1.14 2019/02/04 16:45:40 millert Exp $ */ |
2 | /* $NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp $ */ | 2 | /* $NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp $ */ |
3 | 3 | ||
4 | /* | 4 | /* |
@@ -46,6 +46,7 @@ | |||
46 | #define _COMPAT_GLOB_H_ | 46 | #define _COMPAT_GLOB_H_ |
47 | 47 | ||
48 | #include <sys/stat.h> | 48 | #include <sys/stat.h> |
49 | #include <sys/types.h> | ||
49 | 50 | ||
50 | # define glob_t _ssh_compat_glob_t | 51 | # define glob_t _ssh_compat_glob_t |
51 | # define glob(a, b, c, d) _ssh__compat_glob(a, b, c, d) | 52 | # define glob(a, b, c, d) _ssh__compat_glob(a, b, c, d) |
@@ -53,9 +54,9 @@ | |||
53 | 54 | ||
54 | struct stat; | 55 | struct stat; |
55 | typedef struct { | 56 | typedef struct { |
56 | int gl_pathc; /* Count of total paths so far. */ | 57 | size_t gl_pathc; /* Count of total paths so far. */ |
57 | int gl_matchc; /* Count of paths matching pattern. */ | 58 | size_t gl_matchc; /* Count of paths matching pattern. */ |
58 | int gl_offs; /* Reserved at beginning of gl_pathv. */ | 59 | size_t gl_offs; /* Reserved at beginning of gl_pathv. */ |
59 | int gl_flags; /* Copy of flags parameter to glob. */ | 60 | int gl_flags; /* Copy of flags parameter to glob. */ |
60 | char **gl_pathv; /* List of paths matching pattern. */ | 61 | char **gl_pathv; /* List of paths matching pattern. */ |
61 | struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */ | 62 | struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */ |