summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-12-15 01:06:19 -0500
committerXinchen Hui <laruence@php.net>2014-12-15 01:44:53 -0500
commit7081c9bca60e7f3e89b1dbbe771ca2194923a84f (patch)
tree4f806c446527d6e4a39d4928cdd28ff8bd030af9 /main/php_streams.h
parent8f177fde907b632f7951f4939012bf1da4c77d15 (diff)
downloadphp-git-7081c9bca60e7f3e89b1dbbe771ca2194923a84f.tar.gz
Reorder to save alignment size (of course, only for common used structs)
Diffstat (limited to 'main/php_streams.h')
-rw-r--r--main/php_streams.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 77a2234d92..79ceaf2761 100644
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -210,6 +210,8 @@ struct _php_stream {
zend_resource *ctx;
int flags; /* PHP_STREAM_FLAG_XXX */
+ int eof;
+
/* buffer */
zend_off_t position; /* of underlying stream */
unsigned char *readbuf;
@@ -220,8 +222,6 @@ struct _php_stream {
/* how much data to read when filling buffer */
size_t chunk_size;
- int eof;
-
#if ZEND_DEBUG
const char *open_filename;
uint open_lineno;