summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/glob.c4
-rw-r--r--win32/glob.h4
2 files changed, 4 insertions, 4 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;
{
diff --git a/win32/glob.h b/win32/glob.h
index dabf095763..3f7a57a0b3 100644
--- a/win32/glob.h
+++ b/win32/glob.h
@@ -96,7 +96,7 @@ typedef struct {
#define GLOB_ABEND GLOB_ABORTED
BEGIN_EXTERN_C()
-int glob(const char *, int, int (*)(const char *, int), glob_t *);
-void globfree(glob_t *);
+PHPAPI int glob(const char *, int, int (*)(const char *, int), glob_t *);
+PHPAPI void globfree(glob_t *);
END_EXTERN_C()
#endif /* !_GLOB_H_ */