summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-10-07 20:46:30 +0000
committerSascha Schumann <sas@php.net>2000-10-07 20:46:30 +0000
commit683ce541c87467ef79ff193423a38c50bf812234 (patch)
tree6e2babaa7b11ace47cffc5f7f0e5633498ee9655
parent6b5441c30fb93353496e4a2723b063cebe372db8 (diff)
downloadphp-git-683ce541c87467ef79ff193423a38c50bf812234.tar.gz
Move static declaration to source file.
-rw-r--r--ext/shmop/php_shmop.h2
-rw-r--r--ext/shmop/shmop.c2
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);