cvs: php4 /ext/shmop php_shmop.h shmop.c
| From: | Sascha Schumann | Date: | Sat, 07 Oct 2000 20:46:30 +0000 |
| Subject: | cvs: php4 /ext/shmop php_shmop.h shmop.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1950@lists.php.net to get a copy of this message | ||
sas Sat Oct 7 13:46:30 2000 EDT
Modified files:
/php4/ext/shmop php_shmop.h shmop.c
Log:
Move static declaration to source file.
Index: php4/ext/shmop/php_shmop.h
diff -u php4/ext/shmop/php_shmop.h:1.1 php4/ext/shmop/php_shmop.h:1.2
--- php4/ext/shmop/php_shmop.h:1.1 Sun Oct 1 08:06:04 2000
+++ php4/ext/shmop/php_shmop.h Sat Oct 7 13:46:30 2000
@@ -52,8 +52,6 @@
int size;
};
-static void rsclean(struct php_shmop *shmop);
-
typedef struct {
int le_shmop;
} php_shmop_globals;
Index: php4/ext/shmop/shmop.c
diff -u php4/ext/shmop/shmop.c:1.1 php4/ext/shmop/shmop.c:1.2
--- php4/ext/shmop/shmop.c:1.1 Sun Oct 1 08:06:04 2000
+++ php4/ext/shmop/shmop.c Sat Oct 7 13:46:30 2000
@@ -60,6 +60,8 @@
ZEND_GET_MODULE(shmop)
#endif
+static void rsclean(struct php_shmop *shmop);
+
PHP_MINIT_FUNCTION(shmop)
{
shm_type = register_list_destructors(rsclean, NULL);