]> granicus.if.org Git - php/commitdiff
Avoid duplicate symbols; definition is in bz2.c
authorMartin Kraemer <martin@php.net>
Mon, 12 Jan 2004 16:30:55 +0000 (16:30 +0000)
committerMartin Kraemer <martin@php.net>
Mon, 12 Jan 2004 16:30:55 +0000 (16:30 +0000)
ext/bz2/php_bz2.h

index 35b16c940fbc0d26e21d337d46bfee9e6e6692be..d7f11386293adbb66be20a2b5f0d8a98896e7806 100644 (file)
@@ -62,7 +62,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_ops php_stream_bz2io_ops;
+extern php_stream_ops php_stream_bz2io_ops;
 #define PHP_STREAM_IS_BZIP2    &php_stream_bz2io_ops
 
 #endif