]> granicus.if.org Git - php/commitdiff
Move static declaration to source file.
authorSascha Schumann <sas@php.net>
Sat, 7 Oct 2000 20:46:30 +0000 (20:46 +0000)
committerSascha Schumann <sas@php.net>
Sat, 7 Oct 2000 20:46:30 +0000 (20:46 +0000)
ext/shmop/php_shmop.h
ext/shmop/shmop.c

index f3fee5c6f19ab1da70a169d2430fa02a30d75a7e..fb2a06f5034a756510da485a7a020ee6f92b9fb1 100644 (file)
@@ -52,8 +52,6 @@ struct php_shmop
        int size;
 };
 
-static void rsclean(struct php_shmop *shmop);
-
 typedef struct {
        int le_shmop;
 } php_shmop_globals;
index 7234eed74810214b2a424fc93c98a58d36995136..a7085a9987ddcf1740d134fdc7e7e5b94a53a5c3 100644 (file)
@@ -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);