[php-src] master: streams: mark php_stream_error_create_array() as static
| From: | Gina Peter Banyard | Date: | Mon, 27 Jul 2026 17:00:53 +0000 |
| Subject: | [php-src] master: streams: mark php_stream_error_create_array() as static | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-140235@lists.php.net to get a copy of this message | ||
Author: Gina Peter Banyard (Girgias)
Date: 2026-07-27T18:00:42+01:00
Commit: https://github.com/php/php-src/commit/bd8a3ee16fa88565be7dd99a457ff372a8bec52b
Raw diff: https://github.com/php/php-src/commit/bd8a3ee16fa88565be7dd99a457ff372a8bec52b.diff
streams: mark php_stream_error_create_array() as static
It's not exported in a header and only used in the file it is defined
Changed paths:
M main/streams/stream_errors.c
Diff:
diff --git a/main/streams/stream_errors.c b/main/streams/stream_errors.c
index b2dfdbb217ad..9ee6127df777 100644
--- a/main/streams/stream_errors.c
+++ b/main/streams/stream_errors.c
@@ -69,7 +69,7 @@ static void php_stream_error_create_object(zval *zv, php_stream_error_entry *ent
}
/* Create array of StreamError objects from error chain */
-PHPAPI void php_stream_error_create_array(zval *zv, php_stream_error_entry *first)
+static void php_stream_error_create_array(zval *zv, php_stream_error_entry *first)
{
array_init(zv);