diff options
author | Wez Furlong <wez@php.net> | 2002-04-11 12:13:17 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-04-11 12:13:17 +0000 |
commit | 4adb1e58eb13a5bf789b24759682283bca38effd (patch) | |
tree | 857a5278b6e60b74d3e905f6572eea95748576e9 | |
parent | a272bc81bbb94c0ff73ab57c5f3c19fffede0cda (diff) | |
download | php-git-4adb1e58eb13a5bf789b24759682283bca38effd.tar.gz |
Fix declarations (Thanks Sebastian)
-rw-r--r-- | ext/standard/php_fopen_wrapper.c | 2 | ||||
-rw-r--r-- | main/user_streams.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index fcca4fce2d..6249aeae98 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -30,7 +30,7 @@ #include "php_standard.h" #include "php_fopen_wrappers.h" -php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_wrapper_options *exoptions STREAMS_DC TSRMLS_DC) +php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) { FILE * fp = NULL; php_stream * stream = NULL; diff --git a/main/user_streams.c b/main/user_streams.c index 7f9a2c2701..faa68bcb89 100644 --- a/main/user_streams.c +++ b/main/user_streams.c @@ -29,7 +29,7 @@ struct php_user_stream_wrapper { php_stream_wrapper wrapper; }; -static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_wrapper_options *exoptions STREAMS_DC TSRMLS_DC); +static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC); static php_stream_wrapper_ops user_stream_wops = { user_wrapper_opener, @@ -115,7 +115,7 @@ function stream_open($path, $mode, $options, &$opened_path) * */ -static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_wrapper_options *exoptions STREAMS_DC TSRMLS_DC) +static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) { struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; php_userstream_data_t *us; |