summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip_get_name.c
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2008-01-12 03:48:39 +0000
committerGreg Beaver <cellog@php.net>2008-01-12 03:48:39 +0000
commitf76eac59c025250aac658f375f6e69858e81668e (patch)
treed7ccdd09a2591081e04b723dbe57582844411ee5 /ext/zip/lib/zip_get_name.c
parent059bc1d593c2849c5ae90b2a22a1722d6d52f475 (diff)
downloadphp-git-f76eac59c025250aac658f375f6e69858e81668e.tar.gz
MFH: export symbols for use by other extensions like phar
Diffstat (limited to 'ext/zip/lib/zip_get_name.c')
-rw-r--r--ext/zip/lib/zip_get_name.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/lib/zip_get_name.c b/ext/zip/lib/zip_get_name.c
index c45dd0333f..c2cae2518e 100644
--- a/ext/zip/lib/zip_get_name.c
+++ b/ext/zip/lib/zip_get_name.c
@@ -40,7 +40,7 @@
-const char *
+PHPZIPAPI const char *
zip_get_name(struct zip *za, int idx, int flags)
{
return _zip_get_name(za, idx, flags, &za->error);
@@ -48,7 +48,7 @@ zip_get_name(struct zip *za, int idx, int flags)
-const char *
+PHPZIPAPI const char *
_zip_get_name(struct zip *za, int idx, int flags, struct zip_error *error)
{
if (idx < 0 || idx >= za->nentry) {