diff options
| -rw-r--r-- | ext/shmop/php_shmop.h | 2 | ||||
| -rw-r--r-- | ext/shmop/shmop.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/shmop/php_shmop.h b/ext/shmop/php_shmop.h index f3fee5c6f1..fb2a06f503 100644 --- a/ext/shmop/php_shmop.h +++ b/ext/shmop/php_shmop.h @@ -52,8 +52,6 @@ struct php_shmop int size; }; -static void rsclean(struct php_shmop *shmop); - typedef struct { int le_shmop; } php_shmop_globals; diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c index 7234eed748..a7085a9987 100644 --- a/ext/shmop/shmop.c +++ b/ext/shmop/shmop.c @@ -60,6 +60,8 @@ zend_module_entry shmop_module_entry = { ZEND_GET_MODULE(shmop) #endif +static void rsclean(struct php_shmop *shmop); + PHP_MINIT_FUNCTION(shmop) { shm_type = register_list_destructors(rsclean, NULL); |
