summaryrefslogtreecommitdiff
path: root/src/sp_utils.h
diff options
context:
space:
mode:
authorRemi Collet2018-09-03 15:38:51 +0200
committerjvoisin2018-09-03 13:38:51 +0000
commit499a81914597f156fe9a67e47e3baf82a0af4bde (patch)
tree23630733f4b892d362217cb5c8840d268d03c7c1 /src/sp_utils.h
parentc947eb5378f894b154bdd33588f4bfb470075fe8 (diff)
Fix #241 segfault on 32-bit related to bad protype (#242)
This should close #241
Diffstat (limited to 'src/sp_utils.h')
-rw-r--r--src/sp_utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h
index c094fac..d835905 100644
--- a/src/sp_utils.h
+++ b/src/sp_utils.h
@@ -54,10 +54,8 @@ void sp_log_disable(const char *restrict, const char *restrict,
54 const zend_string *restrict, const sp_disabled_function *); 54 const zend_string *restrict, const sp_disabled_function *);
55void sp_log_disable_ret(const char *restrict, const zend_string *restrict, 55void sp_log_disable_ret(const char *restrict, const zend_string *restrict,
56 const sp_disabled_function *); 56 const sp_disabled_function *);
57int hook_function(const char *, HashTable *, 57int hook_function(const char *, HashTable *, zif_handler);
58 void (*)(INTERNAL_FUNCTION_PARAMETERS)); 58int hook_regexp(const sp_pcre *, HashTable *, zif_handler);
59int hook_regexp(const sp_pcre *, HashTable *,
60 void (*)(INTERNAL_FUNCTION_PARAMETERS));
61bool check_is_in_eval_whitelist(const zend_string *const function_name); 59bool check_is_in_eval_whitelist(const zend_string *const function_name);
62int sp_log_request(const zend_string *folder, const zend_string *text_repr, 60int sp_log_request(const zend_string *folder, const zend_string *text_repr,
63 char *from); 61 char *from);