From: Sascha Schumann Date: Sat, 7 Oct 2000 20:46:30 +0000 (+0000) Subject: Move static declaration to source file. X-Git-Tag: php-4.0.3~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=683ce541c87467ef79ff193423a38c50bf812234;p=php Move static declaration to source file. --- 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);