Commit 6739acedc82 for php.net
commit 6739acedc8209058782e74c3afc01c0184144373
Author: Gina Peter Banyard <girgias@php.net>
Date: Tue Jul 28 13:24:10 2026 +0100
zip: add static storage specifier for private functions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 2e1e8dc8625..6f0b8e96c56 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -651,7 +651,7 @@ static bool php_zipobj_close(ze_zip_object *obj, zend_string **out_str) /* {{{ *
}
/* }}} */
-int php_zip_glob(zend_string *spattern, zend_long flags, zval *return_value) /* {{{ */
+static int php_zip_glob(zend_string *spattern, zend_long flags, zval *return_value) /* {{{ */
{
int cwd_skip = 0;
#ifdef ZTS
@@ -755,7 +755,7 @@ int php_zip_glob(zend_string *spattern, zend_long flags, zval *return_value) /*
}
/* }}} */
-int php_zip_pcre(zend_string *regexp, char *path, int path_len, zval *return_value) /* {{{ */
+static int php_zip_pcre(zend_string *regexp, char *path, int path_len, zval *return_value) /* {{{ */
{
#ifdef ZTS
char cwd[MAXPATHLEN];