diff options
| author | jvoisin | 2021-01-01 16:31:33 +0100 |
|---|---|---|
| committer | jvoisin | 2021-01-01 16:31:33 +0100 |
| commit | 837fbdb88a513500520f057d27bdfedd0d3995ca (patch) | |
| tree | a311472f26ac4358f5c03311ea37e99e7d4facd7 /src/sp_utils.h | |
| parent | 0127dd9b9d1d81dbeb674bd956a10fbd83f42cdd (diff) | |
Constify a function
Diffstat (limited to 'src/sp_utils.h')
| -rw-r--r-- | src/sp_utils.h | 3 |
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); | |||
| 76 | int hook_regexp(const sp_pcre *, HashTable *, zif_handler); | 76 | int hook_regexp(const sp_pcre *, HashTable *, zif_handler); |
| 77 | bool check_is_in_eval_whitelist(const zend_string *const function_name); | 77 | bool check_is_in_eval_whitelist(const zend_string *const function_name); |
| 78 | int sp_log_request(const zend_string *restrict folder, | 78 | int 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); | ||
| 80 | bool sp_zend_string_equals(const zend_string *s1, const zend_string *s2); | 81 | bool sp_zend_string_equals(const zend_string *s1, const zend_string *s2); |
| 81 | 82 | ||
| 82 | #endif /* SP_UTILS_H */ | 83 | #endif /* SP_UTILS_H */ |
