summaryrefslogtreecommitdiff
path: root/ext/bz2
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2006-08-14 20:08:18 +0000
committerNuno Lopes <nlopess@php.net>2006-08-14 20:08:18 +0000
commitddb4d1fdcc2162edd7432080b117eaae6e24eb87 (patch)
tree8ab7c292e00edbe8ed2b9c1514894005e604a272 /ext/bz2
parent8657927354c6c03320f7733b5859cd5272712b33 (diff)
downloadphp-git-ddb4d1fdcc2162edd7432080b117eaae6e24eb87.tar.gz
move static declaration to *.c files
mroe static/const keywording
Diffstat (limited to 'ext/bz2')
-rw-r--r--ext/bz2/bz2.c11
-rw-r--r--ext/bz2/php_bz2.h11
2 files changed, 11 insertions, 11 deletions
diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c
index 188024aa21..6cdefcac52 100644
--- a/ext/bz2/bz2.c
+++ b/ext/bz2/bz2.c
@@ -40,6 +40,17 @@
#define PHP_BZ_ERRSTR 1
#define PHP_BZ_ERRBOTH 2
+static PHP_MINIT_FUNCTION(bz2);
+static PHP_MSHUTDOWN_FUNCTION(bz2);
+static PHP_MINFO_FUNCTION(bz2);
+static PHP_FUNCTION(bzopen);
+static PHP_FUNCTION(bzread);
+static PHP_FUNCTION(bzerrno);
+static PHP_FUNCTION(bzerrstr);
+static PHP_FUNCTION(bzerror);
+static PHP_FUNCTION(bzcompress);
+static PHP_FUNCTION(bzdecompress);
+
/* {{{ arginfo */
static
ZEND_BEGIN_ARG_INFO_EX(arginfo_bzread, 0, 0, 1)
diff --git a/ext/bz2/php_bz2.h b/ext/bz2/php_bz2.h
index ace76e0714..bb35c140c9 100644
--- a/ext/bz2/php_bz2.h
+++ b/ext/bz2/php_bz2.h
@@ -29,17 +29,6 @@ extern zend_module_entry bz2_module_entry;
/* Bzip2 includes */
#include <bzlib.h>
-static PHP_MINIT_FUNCTION(bz2);
-static PHP_MSHUTDOWN_FUNCTION(bz2);
-static PHP_MINFO_FUNCTION(bz2);
-static PHP_FUNCTION(bzopen);
-static PHP_FUNCTION(bzread);
-static PHP_FUNCTION(bzerrno);
-static PHP_FUNCTION(bzerrstr);
-static PHP_FUNCTION(bzerror);
-static PHP_FUNCTION(bzcompress);
-static PHP_FUNCTION(bzdecompress);
-
#else
#define phpext_bz2_ptr NULL
#endif