mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed compiler warnings.
This commit is contained in:
parent
88b2f89eee
commit
fbc32ea828
2 changed files with 4 additions and 4 deletions
|
@ -64,10 +64,6 @@ PHP_FUNCTION(shm_put_var);
|
|||
PHP_FUNCTION(shm_get_var);
|
||||
PHP_FUNCTION(shm_remove_var);
|
||||
|
||||
static int php_put_shm_data(sysvshm_chunk_head *ptr,long key,char *data, long len);
|
||||
static long php_check_shm_data(sysvshm_chunk_head *ptr, long key);
|
||||
static int php_remove_shm_data(sysvshm_chunk_head *ptr, long shm_varpos);
|
||||
|
||||
extern sysvshm_module php_sysvshm;
|
||||
|
||||
#else
|
||||
|
|
|
@ -75,6 +75,10 @@ ZEND_GET_MODULE(sysvshm)
|
|||
|
||||
THREAD_LS sysvshm_module php_sysvshm;
|
||||
|
||||
static int php_put_shm_data(sysvshm_chunk_head *ptr, long key, char *data, long len);
|
||||
static long php_check_shm_data(sysvshm_chunk_head *ptr, long key);
|
||||
static int php_remove_shm_data(sysvshm_chunk_head *ptr, long shm_varpos);
|
||||
|
||||
/* {{{ php_release_sysvshm
|
||||
*/
|
||||
static void php_release_sysvshm(zend_rsrc_list_entry *rsrc TSRMLS_DC)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue