summaryrefslogtreecommitdiff
path: root/main/php_scandir.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_scandir.h')
-rw-r--r--main/php_scandir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_scandir.h b/main/php_scandir.h
index 5c6584c616..c3b6f0a7c1 100644
--- a/main/php_scandir.h
+++ b/main/php_scandir.h
@@ -42,13 +42,13 @@
#ifdef HAVE_SCANDIR
#define php_scandir scandir
#else
-int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b));
+PHPAPI int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b));
#endif
#ifdef HAVE_ALPHASORT
#define php_alphasort alphasort
#else
-int php_alphasort(const struct dirent **a, const struct dirent **b);
+PHPAPI int php_alphasort(const struct dirent **a, const struct dirent **b);
#endif
#endif /* PHP_SCANDIR_H */