mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: Fixed compiler warnings
This commit is contained in:
parent
bffb8c406c
commit
226c56fe76
10 changed files with 13 additions and 13 deletions
|
@ -560,7 +560,7 @@ static void scanner_globals_ctor(zend_scanner_globals *scanner_globals_p TSRMLS_
|
||||||
scanner_globals_p->yy_start_stack = 0;
|
scanner_globals_p->yy_start_stack = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void zend_init_opcodes_handlers();
|
void zend_init_opcodes_handlers(void);
|
||||||
|
|
||||||
int zend_startup(zend_utility_functions *utility_functions, char **extensions, int start_builtin_functions)
|
int zend_startup(zend_utility_functions *utility_functions, char **extensions, int start_builtin_functions)
|
||||||
{
|
{
|
||||||
|
@ -811,7 +811,7 @@ void zend_append_version_info(zend_extension *extension)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ZEND_API char *get_zend_version()
|
ZEND_API char *get_zend_version(void)
|
||||||
{
|
{
|
||||||
return zend_version_info;
|
return zend_version_info;
|
||||||
}
|
}
|
||||||
|
|
|
@ -186,8 +186,8 @@ ZEND_API zend_class_entry *zend_fetch_class(char *class_name, uint class_name_le
|
||||||
void zend_verify_abstract_class(zend_class_entry *ce TSRMLS_DC);
|
void zend_verify_abstract_class(zend_class_entry *ce TSRMLS_DC);
|
||||||
|
|
||||||
#ifdef ZEND_WIN32
|
#ifdef ZEND_WIN32
|
||||||
void zend_init_timeout_thread();
|
void zend_init_timeout_thread(void);
|
||||||
void zend_shutdown_timeout_thread();
|
void zend_shutdown_timeout_thread(void);
|
||||||
#define WM_REGISTER_ZEND_TIMEOUT (WM_USER+1)
|
#define WM_REGISTER_ZEND_TIMEOUT (WM_USER+1)
|
||||||
#define WM_UNREGISTER_ZEND_TIMEOUT (WM_USER+2)
|
#define WM_UNREGISTER_ZEND_TIMEOUT (WM_USER+2)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1375,7 +1375,7 @@ static unsigned __stdcall timeout_thread_proc(void *pArgs)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void zend_init_timeout_thread()
|
void zend_init_timeout_thread(void)
|
||||||
{
|
{
|
||||||
timeout_thread_event = CreateEvent(NULL, FALSE, FALSE, NULL);
|
timeout_thread_event = CreateEvent(NULL, FALSE, FALSE, NULL);
|
||||||
timeout_thread_handle = CreateEvent(NULL, FALSE, FALSE, NULL);
|
timeout_thread_handle = CreateEvent(NULL, FALSE, FALSE, NULL);
|
||||||
|
@ -1384,7 +1384,7 @@ void zend_init_timeout_thread()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void zend_shutdown_timeout_thread()
|
void zend_shutdown_timeout_thread(void)
|
||||||
{
|
{
|
||||||
if (!timeout_thread_initialized) {
|
if (!timeout_thread_initialized) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -353,7 +353,7 @@ ZEND_API zval* zend_object_proxy_get(zval *property TSRMLS_DC)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
ZEND_API zend_object_handlers *zend_get_std_object_handlers()
|
ZEND_API zend_object_handlers *zend_get_std_object_handlers(void)
|
||||||
{
|
{
|
||||||
return &std_object_handlers;
|
return &std_object_handlers;
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ ZEND_API void zend_objects_store_free_object_storage(zend_objects_store *objects
|
||||||
|
|
||||||
ZEND_API zval *zend_object_create_proxy(zval *object, zval *member TSRMLS_DC);
|
ZEND_API zval *zend_object_create_proxy(zval *object, zval *member TSRMLS_DC);
|
||||||
|
|
||||||
ZEND_API zend_object_handlers *zend_get_std_object_handlers();
|
ZEND_API zend_object_handlers *zend_get_std_object_handlers(void);
|
||||||
END_EXTERN_C()
|
END_EXTERN_C()
|
||||||
|
|
||||||
#endif /* ZEND_OBJECTS_H */
|
#endif /* ZEND_OBJECTS_H */
|
||||||
|
|
|
@ -1842,7 +1842,7 @@ ZEND_API int zval_is_true(zval *op)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ZEND_USE_TOLOWER_L
|
#ifdef ZEND_USE_TOLOWER_L
|
||||||
ZEND_API void zend_update_current_locale()
|
ZEND_API void zend_update_current_locale(void)
|
||||||
{
|
{
|
||||||
current_locale = _get_current_locale();
|
current_locale = _get_current_locale();
|
||||||
}
|
}
|
||||||
|
|
|
@ -428,7 +428,7 @@ END_EXTERN_C()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ZEND_USE_TOLOWER_L
|
#ifdef ZEND_USE_TOLOWER_L
|
||||||
ZEND_API void zend_update_current_locale();
|
ZEND_API void zend_update_current_locale(void);
|
||||||
#else
|
#else
|
||||||
#define zend_update_current_locale()
|
#define zend_update_current_locale()
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef ZEND_VM_H
|
#ifndef ZEND_VM_H
|
||||||
#define ZEND_VM_H
|
#define ZEND_VM_H
|
||||||
|
|
||||||
ZEND_API void zend_vm_use_old_executor();
|
ZEND_API void zend_vm_use_old_executor(void);
|
||||||
ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
|
ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
|
||||||
|
|
||||||
#define ZEND_VM_SET_OPCODE_HANDLER(opline) zend_vm_set_opcode_handler(opline)
|
#define ZEND_VM_SET_OPCODE_HANDLER(opline) zend_vm_set_opcode_handler(opline)
|
||||||
|
|
|
@ -26577,7 +26577,7 @@ static int ZEND_NULL_HANDLER(ZEND_OPCODE_HANDLER_ARGS)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void zend_init_opcodes_handlers()
|
void zend_init_opcodes_handlers(void)
|
||||||
{
|
{
|
||||||
static const opcode_handler_t labels[] = {
|
static const opcode_handler_t labels[] = {
|
||||||
ZEND_NOP_SPEC_HANDLER,
|
ZEND_NOP_SPEC_HANDLER,
|
||||||
|
|
|
@ -71,7 +71,7 @@ ZEND_API void {%EXECUTOR_NAME%}(zend_op_array *op_array TSRMLS_DC)
|
||||||
|
|
||||||
{%EXTERNAL_EXECUTOR%}
|
{%EXTERNAL_EXECUTOR%}
|
||||||
|
|
||||||
void {%INITIALIZER_NAME%}()
|
void {%INITIALIZER_NAME%}(void)
|
||||||
{
|
{
|
||||||
{%EXTERNAL_LABELS%}
|
{%EXTERNAL_LABELS%}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue