summaryrefslogtreecommitdiff
path: root/ext/bz2
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2006-10-08 00:05:17 +0000
committerHannes Magnusson <bjori@php.net>2006-10-08 00:05:17 +0000
commitfbbccfd9cf06ff5466a0d584472acfc19718e008 (patch)
tree5439c11fc0e1595ef4fc1a36aa57d7065021fcd0 /ext/bz2
parent1b6606eb1a8cb83e0dc2bf104d65d06011c127a0 (diff)
downloadphp-git-fbbccfd9cf06ff5466a0d584472acfc19718e008.tar.gz
MFB (move static keywording from .h to .c)
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 95cccb8af7..4bb58a3c84 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