summaryrefslogtreecommitdiff
path: root/win32/glob.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-01-01 12:32:31 +0000
committerPierre Joye <pajoye@php.net>2009-01-01 12:32:31 +0000
commit0a636b41feecb657ff9a2a700acbb4f5ec0a602a (patch)
tree29c5dabead20cba831a4fc7e08b9b97388197c69 /win32/glob.c
parent1055a03d625a67b8e02c7e105e6db1c3ef76fccb (diff)
downloadphp-git-0a636b41feecb657ff9a2a700acbb4f5ec0a602a.tar.gz
- expose glob and globfree on wi ndows, can be used by shared ext (core or extern)
Diffstat (limited to 'win32/glob.c')
-rw-r--r--win32/glob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/glob.c b/win32/glob.c
index b369362c19..c95c45794e 100644
--- a/win32/glob.c
+++ b/win32/glob.c
@@ -159,7 +159,7 @@ static int match(Char *, Char *, Char *);
static void qprintf(const char *, Char *);
#endif
-int
+PHPAPI int
glob(pattern, flags, errfunc, pglob)
const char *pattern;
int flags, (*errfunc)(const char *, int);
@@ -811,7 +811,7 @@ match(name, pat, patend)
}
/* Free allocated data belonging to a glob_t structure. */
-void
+PHPAPI void
globfree(pglob)
glob_t *pglob;
{