summaryrefslogtreecommitdiff
path: root/main/streams/glob_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/streams/glob_wrapper.c')
-rw-r--r--main/streams/glob_wrapper.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/main/streams/glob_wrapper.c b/main/streams/glob_wrapper.c
index b10318fef2..dcdbabf185 100644
--- a/main/streams/glob_wrapper.c
+++ b/main/streams/glob_wrapper.c
@@ -16,8 +16,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#include "php.h"
#include "php_streams_int.h"
@@ -195,7 +193,7 @@ static int php_glob_stream_rewind(php_stream *stream, zend_off_t offset, int whe
}
/* }}} */
-php_stream_ops php_glob_stream_ops = {
+const php_stream_ops php_glob_stream_ops = {
NULL, php_glob_stream_read,
php_glob_stream_close, NULL,
"glob",
@@ -261,7 +259,7 @@ static php_stream *php_glob_stream_opener(php_stream_wrapper *wrapper, const cha
}
/* }}} */
-static php_stream_wrapper_ops php_glob_stream_wrapper_ops = {
+static const php_stream_wrapper_ops php_glob_stream_wrapper_ops = {
NULL,
NULL,
NULL,
@@ -275,7 +273,7 @@ static php_stream_wrapper_ops php_glob_stream_wrapper_ops = {
NULL
};
-php_stream_wrapper php_glob_stream_wrapper = {
+const php_stream_wrapper php_glob_stream_wrapper = {
&php_glob_stream_wrapper_ops,
NULL,
0