File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -331,23 +331,23 @@ struct _phar_entry_fp {
331
331
phar_entry_fp_info * manifest ;
332
332
};
333
333
334
- static inline php_stream * phar_get_entrypfp (phar_entry_info * entry )
334
+ static inline php_stream * phar_get_entrypfp (const phar_entry_info * entry )
335
335
{
336
336
if (!entry -> is_persistent ) {
337
337
return entry -> phar -> fp ;
338
338
}
339
339
return PHAR_G (cached_fp )[entry -> phar -> phar_pos ].fp ;
340
340
}
341
341
342
- static inline php_stream * phar_get_pharfp (phar_archive_data * phar )
342
+ static inline php_stream * phar_get_pharfp (const phar_archive_data * phar )
343
343
{
344
344
if (!phar -> is_persistent ) {
345
345
return phar -> fp ;
346
346
}
347
347
return PHAR_G (cached_fp )[phar -> phar_pos ].fp ;
348
348
}
349
349
350
- static inline enum phar_fp_type phar_get_fp_type (phar_entry_info * entry )
350
+ static inline enum phar_fp_type phar_get_fp_type (const phar_entry_info * entry )
351
351
{
352
352
if (!entry -> is_persistent ) {
353
353
return entry -> fp_type ;
You can’t perform that action at this time.
0 commit comments