From b90387080a81952b330af225d4dc2bcbde14892d Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 9 Oct 2018 12:14:35 +0000 Subject: Don't check the return values of functions that might not return (#255) This is due to our modifications to the logging system--- src/sp_disabled_functions.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/sp_disabled_functions.h') diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h index b7901dd..3999aec 100644 --- a/src/sp_disabled_functions.h +++ b/src/sp_disabled_functions.h @@ -5,15 +5,11 @@ extern zend_write_func_t zend_write_default; int hook_disabled_functions(); int hook_echo(const char *, size_t); -bool should_disable(zend_execute_data *, const char *, const zend_string *, - const char *, const sp_list_node *, const zend_string *); -bool should_disable_ht(zend_execute_data *, const char *, const zend_string *, +void should_disable_ht(zend_execute_data *, const char *, const zend_string *, const char *, const sp_list_node *, const HashTable *); -bool should_drop_on_ret_ht(const zval *, const char *, +void should_drop_on_ret_ht(const zval *, const char *, const sp_list_node *config, const HashTable *, zend_execute_data *); -bool should_drop_on_ret(const zval *, const sp_list_node *config, const char *, - zend_execute_data *); char *get_complete_function_path(zend_execute_data const *const); #endif /* __SP_DISABLE_FUNCTIONS_H */ -- cgit v1.3