summaryrefslogtreecommitdiff
path: root/ext/bz2
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-09-12 11:44:26 +0000
committerJani Taskinen <jani@php.net>2007-09-12 11:44:26 +0000
commitbf132de1eb06344bf7a823a79a1ae7d1d34ccc80 (patch)
treed74a1823d016e0e249037c94668be6c939f8e80a /ext/bz2
parentada2b7ca41f9edb4e61a29b5962797b12371d0e6 (diff)
downloadphp-git-bf132de1eb06344bf7a823a79a1ae7d1d34ccc80.tar.gz
MFH:- Fixed bug #42627 (bz2 extension fails to build with -fno-common)
Diffstat (limited to 'ext/bz2')
-rw-r--r--ext/bz2/php_bz2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bz2/php_bz2.h b/ext/bz2/php_bz2.h
index c88c2dbd42..8935f90c9c 100644
--- a/ext/bz2/php_bz2.h
+++ b/ext/bz2/php_bz2.h
@@ -51,7 +51,7 @@ PHP_BZ2_API php_stream *_php_stream_bz2open_from_BZFILE(BZFILE *bz, char *mode,
#define php_stream_bz2open_from_BZFILE(bz, mode, innerstream) _php_stream_bz2open_from_BZFILE((bz), (mode), (innerstream) STREAMS_CC TSRMLS_CC)
#define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (options), (opened_path), NULL STREAMS_CC TSRMLS_CC)
-php_stream_filter_factory php_bz2_filter_factory;
+extern php_stream_filter_factory php_bz2_filter_factory;
extern php_stream_ops php_stream_bz2io_ops;
#define PHP_STREAM_IS_BZIP2 &php_stream_bz2io_ops