summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zip_get_name.c
diff options
context:
space:
mode:
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 c2cae2518e..c45dd0333f 100644
--- a/ext/zip/lib/zip_get_name.c
+++ b/ext/zip/lib/zip_get_name.c
@@ -40,7 +40,7 @@
-PHPZIPAPI const char *
+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)
-PHPZIPAPI const char *
+const char *
_zip_get_name(struct zip *za, int idx, int flags, struct zip_error *error)
{
if (idx < 0 || idx >= za->nentry) {