mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
MFH: const/static keywording
This commit is contained in:
parent
bccbbf6c56
commit
5897477522
5 changed files with 6 additions and 6 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
@EXT_INCLUDE_CODE@
|
||||
|
||||
zend_module_entry *php_builtin_extensions[] = {
|
||||
static zend_module_entry *php_builtin_extensions[] = {
|
||||
@EXT_MODULE_PTRS@
|
||||
};
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
/* {{{ php_builtin_extensions[]
|
||||
*/
|
||||
zend_module_entry *php_builtin_extensions[] = {
|
||||
static zend_module_entry *php_builtin_extensions[] = {
|
||||
phpext_standard_ptr,
|
||||
#if HAVE_BCMATH
|
||||
phpext_bcmath_ptr,
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
|
||||
/* {{{ php_builtin_extensions[]
|
||||
*/
|
||||
zend_module_entry *php_builtin_extensions[] = {
|
||||
static zend_module_entry *php_builtin_extensions[] = {
|
||||
phpext_standard_ptr
|
||||
#if HAVE_BCMATH
|
||||
,phpext_bcmath_ptr
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "SAPI.h"
|
||||
|
||||
typedef struct _php_info_logo {
|
||||
char *mimetype;
|
||||
const char *mimetype;
|
||||
int mimelen;
|
||||
const unsigned char *data;
|
||||
int size;
|
||||
|
@ -33,7 +33,7 @@ typedef struct _php_info_logo {
|
|||
|
||||
HashTable phpinfo_logo_hash;
|
||||
|
||||
PHPAPI int php_register_info_logo(char *logo_string, char *mimetype, const unsigned char *data, int size)
|
||||
PHPAPI int php_register_info_logo(char *logo_string, const char *mimetype, const unsigned char *data, int size)
|
||||
{
|
||||
php_info_logo info_logo;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define _PHP_LOGOS_H
|
||||
|
||||
BEGIN_EXTERN_C()
|
||||
PHPAPI int php_register_info_logo(char *logo_string, char *mimetype, const unsigned char *data, int size);
|
||||
PHPAPI int php_register_info_logo(char *logo_string, const char *mimetype, const unsigned char *data, int size);
|
||||
PHPAPI int php_unregister_info_logo(char *logo_string);
|
||||
END_EXTERN_C()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue