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_sloppy.c | |
| parent | 0127dd9b9d1d81dbeb674bd956a10fbd83f42cdd (diff) | |
Constify a function
Diffstat (limited to 'src/sp_sloppy.c')
| -rw-r--r-- | src/sp_sloppy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp_sloppy.c b/src/sp_sloppy.c index d9c9e8d..f9ed718 100644 --- a/src/sp_sloppy.c +++ b/src/sp_sloppy.c | |||
| @@ -26,7 +26,8 @@ static void modify_opcode(zend_op_array* opline) { | |||
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | #if PHP_VERSION_ID >= 80000 | 28 | #if PHP_VERSION_ID >= 80000 |
| 29 | ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, const char* filename) { | 29 | ZEND_API zend_op_array* sp_compile_string(zend_string* source_string, |
| 30 | const char* filename) { | ||
| 30 | #else | 31 | #else |
| 31 | ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { | 32 | ZEND_API zend_op_array* sp_compile_string(zval* source_string, char* filename) { |
| 32 | #endif | 33 | #endif |
