mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove use of register keyword in headers
Headers must be C++ compatible -- this throws warnings. The register keyword is not used for optimization, at least not in optimized builds.
This commit is contained in:
parent
fbe50b15dd
commit
af66ad2857
6 changed files with 11 additions and 11 deletions
|
@ -330,7 +330,7 @@ END_EXTERN_C()
|
|||
BEGIN_EXTERN_C()
|
||||
PHPAPI extern int (*php_register_internal_extensions_func)(void);
|
||||
PHPAPI int php_register_internal_extensions(void);
|
||||
PHPAPI int php_mergesort(void *base, size_t nmemb, register size_t size, int (*cmp)(const void *, const void *));
|
||||
PHPAPI int php_mergesort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *, const void *));
|
||||
PHPAPI void php_register_pre_request_shutdown(void (*func)(void *), void *userdata);
|
||||
PHPAPI void php_com_initialize(void);
|
||||
PHPAPI char *php_get_current_user(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue