summaryrefslogtreecommitdiff
path: root/main/php_scandir.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-12-02 10:15:08 +0000
committerPierre Joye <pajoye@php.net>2008-12-02 10:15:08 +0000
commitef68d9fc7288e02c78fed29088a5e3d20c5d4494 (patch)
tree59d5cc523d893c04b2157d9b38db667ca048545c /main/php_scandir.h
parent4b24c89a9df3a1534ad75232942f0fe81c1f8b91 (diff)
downloadphp-git-ef68d9fc7288e02c78fed29088a5e3d20c5d4494.tar.gz
- export php_scandir and php_alphasort correctly (used by APC for example)
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 */