]> granicus.if.org Git - php/commitdiff
- Fixed bug #42627 (bz2 extension fails to build with -fno-common)
authorJani Taskinen <jani@php.net>
Wed, 12 Sep 2007 11:44:11 +0000 (11:44 +0000)
committerJani Taskinen <jani@php.net>
Wed, 12 Sep 2007 11:44:11 +0000 (11:44 +0000)
ext/bz2/php_bz2.h

index c88c2dbd42d3db4ffc2e7d17360b6c4625ab9850..8935f90c9cc2a6bc0254bd2f52d3f4c831c87971 100644 (file)
@@ -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