Skip to content

Commit c0d89e5

Browse files
Zend/zend_alloc: make stderr_last_error() static (#10587)
This function is only used internally.
1 parent 04c85a3 commit c0d89e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Zend/zend_alloc.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,7 @@ static ZEND_COLD ZEND_NORETURN void zend_mm_safe_error(zend_mm_heap *heap,
396396
}
397397

398398
#ifdef _WIN32
399-
void
400-
stderr_last_error(char *msg)
399+
static void stderr_last_error(char *msg)
401400
{
402401
DWORD err = GetLastError();
403402
char *buf = php_win32_error_to_msg(err);

0 commit comments

Comments
 (0)