File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ sysvshm_module php_sysvshm;
9292
9393static int php_put_shm_data (sysvshm_chunk_head * ptr , zend_long key , const char * data , zend_long len );
9494static zend_long php_check_shm_data (sysvshm_chunk_head * ptr , zend_long key );
95- static int php_remove_shm_data (sysvshm_chunk_head * ptr , zend_long shm_varpos );
95+ static void php_remove_shm_data (sysvshm_chunk_head * ptr , zend_long shm_varpos );
9696
9797/* {{{ PHP_MINIT_FUNCTION */
9898PHP_MINIT_FUNCTION (sysvshm )
@@ -423,8 +423,7 @@ static zend_long php_check_shm_data(sysvshm_chunk_head *ptr, zend_long key)
423423}
424424/* }}} */
425425
426- /* {{{ php_remove_shm_data */
427- static int php_remove_shm_data (sysvshm_chunk_head * ptr , zend_long shm_varpos )
426+ static void php_remove_shm_data (sysvshm_chunk_head * ptr , zend_long shm_varpos )
428427{
429428 sysvshm_chunk * chunk_ptr , * next_chunk_ptr ;
430429 zend_long memcpy_len ;
@@ -440,8 +439,6 @@ static int php_remove_shm_data(sysvshm_chunk_head *ptr, zend_long shm_varpos)
440439 if (memcpy_len > 0 ) {
441440 memmove (chunk_ptr , next_chunk_ptr , memcpy_len );
442441 }
443- return 0 ;
444442}
445- /* }}} */
446443
447444#endif /* HAVE_SYSVSHM */
You can’t perform that action at this time.
0 commit comments