From: Levi Morrison Date: Wed, 3 Mar 2021 01:42:58 +0000 (-0700) Subject: Add const to zend_extension_version_info.build_id X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2317b81c62bd306c8b7ce7642afcd4e9e1278a95;p=php Add const to zend_extension_version_info.build_id This is a follow-up to: https://github.com/php/php-src/commit/3c6ab4b3ea5854fd44a2945bb65bf027a6c94890 Closes GH-6744. --- diff --git a/Zend/zend_extensions.h b/Zend/zend_extensions.h index 49ce115548..57c8775092 100644 --- a/Zend/zend_extensions.h +++ b/Zend/zend_extensions.h @@ -48,7 +48,7 @@ You can use the following macro to check the extension API version for compatibi typedef struct _zend_extension_version_info { int zend_extension_api_no; - char *build_id; + const char *build_id; } zend_extension_version_info; #define ZEND_EXTENSION_BUILD_ID "API" ZEND_TOSTR(ZEND_EXTENSION_API_NO) ZEND_BUILD_TS ZEND_BUILD_DEBUG ZEND_BUILD_SYSTEM ZEND_BUILD_EXTRA