diff options
author | Nuno Lopes <nlopess@php.net> | 2006-08-14 20:08:18 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2006-08-14 20:08:18 +0000 |
commit | ddb4d1fdcc2162edd7432080b117eaae6e24eb87 (patch) | |
tree | 8ab7c292e00edbe8ed2b9c1514894005e604a272 /ext/bz2 | |
parent | 8657927354c6c03320f7733b5859cd5272712b33 (diff) | |
download | php-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.c | 11 | ||||
-rw-r--r-- | ext/bz2/php_bz2.h | 11 |
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 |