1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

ext/standard/info.c: Make some functions static

This commit is contained in:
Gina Peter Bnayard
2024-08-12 18:45:01 +02:00
parent 5078eb080e
commit e0f6e3de34

View File

@@ -250,7 +250,7 @@ PHPAPI ZEND_COLD void ZEND_COLD php_info_print_style(void)
#ifdef PHP_WIN32
/* {{{ */
char* php_get_windows_name()
static char* php_get_windows_name()
{
OSVERSIONINFOEX osvi = EG(windows_version_info);
SYSTEM_INFO si;
@@ -611,7 +611,7 @@ char* php_get_windows_name()
/* }}} */
/* {{{ */
void php_get_windows_cpu(char *buf, size_t bufsize)
static void php_get_windows_cpu(char *buf, size_t bufsize)
{
SYSTEM_INFO SysInfo;
GetSystemInfo(&SysInfo);