summaryrefslogtreecommitdiff
path: root/ext/zip/zip_stream.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-07-27 00:36:55 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-07-27 00:36:55 +0000
commitb0ea656129d47833ae22585a1cb917d6e6137b5b (patch)
treec7c29bc38696a7f8a562a3edcd1d50b09d7d83e4 /ext/zip/zip_stream.c
parent67a82e5106ec1602e3c30be094554965e9b1fcad (diff)
downloadphp-git-b0ea656129d47833ae22585a1cb917d6e6137b5b.tar.gz
Fixed compiler warnings.
Diffstat (limited to 'ext/zip/zip_stream.c')
-rw-r--r--ext/zip/zip_stream.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/zip/zip_stream.c b/ext/zip/zip_stream.c
index 021330b3d9..dd5374edd8 100644
--- a/ext/zip/zip_stream.c
+++ b/ext/zip/zip_stream.c
@@ -10,6 +10,7 @@
#include "php_streams.h"
#include "ext/standard/file.h"
+#include "ext/standard/php_string.h"
#include "fopen_wrappers.h"
#include "ext/standard/url.h"
@@ -47,8 +48,6 @@ static size_t php_zip_ops_read(php_stream *stream, char *buf, size_t count TSRML
/* {{{ php_zip_ops_write */
static size_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC)
{
- STREAM_DATA_FROM_STREAM();
-
if (!stream) {
return 0;
}
@@ -74,9 +73,6 @@ static int php_zip_ops_close(php_stream *stream, int close_handle TSRMLS_DC)
/* {{{ php_zip_ops_flush */
static int php_zip_ops_flush(php_stream *stream TSRMLS_DC)
{
-
- STREAM_DATA_FROM_STREAM();
-
if (!stream) {
return 0;
}