summaryrefslogtreecommitdiff
path: root/src/sp_utils.h
diff options
context:
space:
mode:
authorjvoisin2021-01-01 16:31:33 +0100
committerjvoisin2021-01-01 16:31:33 +0100
commit837fbdb88a513500520f057d27bdfedd0d3995ca (patch)
treea311472f26ac4358f5c03311ea37e99e7d4facd7 /src/sp_utils.h
parent0127dd9b9d1d81dbeb674bd956a10fbd83f42cdd (diff)
Constify a function
Diffstat (limited to 'src/sp_utils.h')
-rw-r--r--src/sp_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h
index 24c74bf..a883d6d 100644
--- a/src/sp_utils.h
+++ b/src/sp_utils.h
@@ -76,7 +76,8 @@ int hook_function(const char *, HashTable *, zif_handler);
76int hook_regexp(const sp_pcre *, HashTable *, zif_handler); 76int hook_regexp(const sp_pcre *, HashTable *, zif_handler);
77bool check_is_in_eval_whitelist(const zend_string *const function_name); 77bool check_is_in_eval_whitelist(const zend_string *const function_name);
78int sp_log_request(const zend_string *restrict folder, 78int sp_log_request(const zend_string *restrict folder,
79 const zend_string *restrict text_repr, char *from); 79 const zend_string *restrict text_repr,
80 char const *const from);
80bool sp_zend_string_equals(const zend_string *s1, const zend_string *s2); 81bool sp_zend_string_equals(const zend_string *s1, const zend_string *s2);
81 82
82#endif /* SP_UTILS_H */ 83#endif /* SP_UTILS_H */