Commit: 908fc9dcc46118f22c9ee840909f19dab98b0556 Author: Dmitry Stogov <dmi...@zend.com> Mon, 18 Feb 2013 11:04:58 +0400 Parents: 996485e0b2709c46bb07085b88498c88cbc89512 Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=908fc9dcc46118f22c9ee840909f19dab98b0556 Log: Fixed inconsistent start_accel_module() prototype and usage Changed paths: M ZendAccelerator.c M zend_accelerator_module.c M zend_accelerator_module.h Diff: diff --git a/ZendAccelerator.c b/ZendAccelerator.c index 20ee110..5a0f1ce 100644 --- a/ZendAccelerator.c +++ b/ZendAccelerator.c @@ -2248,7 +2248,7 @@ static int accel_startup(zend_extension *extension) _setmaxstdio(2048); /* The default configuration is limited to 512 stdio files */ #endif - if (start_accel_module(0) == FAILURE) { + if (start_accel_module() == FAILURE) { accel_startup_ok = 0; zend_error(E_WARNING, ACCELERATOR_PRODUCT_NAME ": module registration failed!"); return FAILURE; diff --git a/zend_accelerator_module.c b/zend_accelerator_module.c index 299f318..b39c52d 100644 --- a/zend_accelerator_module.c +++ b/zend_accelerator_module.c @@ -402,7 +402,7 @@ static zend_module_entry accel_module_entry = { STANDARD_MODULE_PROPERTIES }; -int start_accel_module() +int start_accel_module(void) { return zend_startup_module(&accel_module_entry); } diff --git a/zend_accelerator_module.h b/zend_accelerator_module.h index 25ad4ae..112ab0f 100644 --- a/zend_accelerator_module.h +++ b/zend_accelerator_module.h @@ -22,7 +22,7 @@ #ifndef ZEND_ACCELERAROR_MODULE_H #define ZEND_ACCELERATOR_MODULE_H -int start_accel_module(); +int start_accel_module(void); void zend_accel_override_file_functions(TSRMLS_D); #endif /* _ZEND_ACCELERATOR_MODULE_H */ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php