diff options
| author | jvoisin | 2018-10-09 12:14:35 +0000 |
|---|---|---|
| committer | GitHub | 2018-10-09 12:14:35 +0000 |
| commit | b90387080a81952b330af225d4dc2bcbde14892d (patch) | |
| tree | 07cc273059b2d1cffb861b1a48debdcd6c8cc9f3 /src/sp_disabled_functions.h | |
| parent | 40cfba9328b9b27cfd2d2b66665780d9898cca2c (diff) | |
Don't check the return values of functions that might not return (#255)
This is due to our modifications to the logging system
Diffstat (limited to 'src/sp_disabled_functions.h')
| -rw-r--r-- | src/sp_disabled_functions.h | 8 |
1 files changed, 2 insertions, 6 deletions
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; | |||
| 5 | 5 | ||
| 6 | int hook_disabled_functions(); | 6 | int hook_disabled_functions(); |
| 7 | int hook_echo(const char *, size_t); | 7 | int hook_echo(const char *, size_t); |
| 8 | bool should_disable(zend_execute_data *, const char *, const zend_string *, | 8 | void should_disable_ht(zend_execute_data *, const char *, const zend_string *, |
| 9 | const char *, const sp_list_node *, const zend_string *); | ||
| 10 | bool should_disable_ht(zend_execute_data *, const char *, const zend_string *, | ||
| 11 | const char *, const sp_list_node *, const HashTable *); | 9 | const char *, const sp_list_node *, const HashTable *); |
| 12 | bool should_drop_on_ret_ht(const zval *, const char *, | 10 | void should_drop_on_ret_ht(const zval *, const char *, |
| 13 | const sp_list_node *config, const HashTable *, | 11 | const sp_list_node *config, const HashTable *, |
| 14 | zend_execute_data *); | 12 | zend_execute_data *); |
| 15 | bool should_drop_on_ret(const zval *, const sp_list_node *config, const char *, | ||
| 16 | zend_execute_data *); | ||
| 17 | char *get_complete_function_path(zend_execute_data const *const); | 13 | char *get_complete_function_path(zend_execute_data const *const); |
| 18 | 14 | ||
| 19 | #endif /* __SP_DISABLE_FUNCTIONS_H */ | 15 | #endif /* __SP_DISABLE_FUNCTIONS_H */ |
