From 2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Wed, 1 Jul 2020 16:32:55 +0300 Subject: Remove proto comments from C files Closes GH-5758 --- main/streams/streams.c | 15 +++++---------- main/streams/userspace.c | 9 +++------ 2 files changed, 8 insertions(+), 16 deletions(-) (limited to 'main/streams') diff --git a/main/streams/streams.c b/main/streams/streams.c index 90475a8d90..ea0738c82a 100644 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -1922,8 +1922,7 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, const } /* }}} */ -/* {{{ _php_stream_mkdir - */ +/* {{{ _php_stream_mkdir */ PHPAPI int _php_stream_mkdir(const char *path, int mode, int options, php_stream_context *context) { php_stream_wrapper *wrapper = NULL; @@ -1937,8 +1936,7 @@ PHPAPI int _php_stream_mkdir(const char *path, int mode, int options, php_stream } /* }}} */ -/* {{{ _php_stream_rmdir - */ +/* {{{ _php_stream_rmdir */ PHPAPI int _php_stream_rmdir(const char *path, int options, php_stream_context *context) { php_stream_wrapper *wrapper = NULL; @@ -2294,24 +2292,21 @@ PHPAPI int php_stream_context_set_option(php_stream_context *context, } /* }}} */ -/* {{{ php_stream_dirent_alphasort - */ +/* {{{ php_stream_dirent_alphasort */ PHPAPI int php_stream_dirent_alphasort(const zend_string **a, const zend_string **b) { return strcoll(ZSTR_VAL(*a), ZSTR_VAL(*b)); } /* }}} */ -/* {{{ php_stream_dirent_alphasortr - */ +/* {{{ php_stream_dirent_alphasortr */ PHPAPI int php_stream_dirent_alphasortr(const zend_string **a, const zend_string **b) { return strcoll(ZSTR_VAL(*b), ZSTR_VAL(*a)); } /* }}} */ -/* {{{ php_stream_scandir - */ +/* {{{ php_stream_scandir */ PHPAPI int _php_stream_scandir(const char *dirname, zend_string **namelist[], int flags, php_stream_context *context, int (*compare) (const zend_string **a, const zend_string **b)) { diff --git a/main/streams/userspace.c b/main/streams/userspace.c index 6c75c1b2ed..ae00187483 100644 --- a/main/streams/userspace.c +++ b/main/streams/userspace.c @@ -486,8 +486,7 @@ static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char } -/* {{{ proto bool stream_wrapper_register(string protocol, string classname[, int flags]) - Registers a custom URL protocol handler class */ +/* {{{ Registers a custom URL protocol handler class */ PHP_FUNCTION(stream_wrapper_register) { zend_string *protocol, *classname; @@ -529,8 +528,7 @@ PHP_FUNCTION(stream_wrapper_register) } /* }}} */ -/* {{{ proto bool stream_wrapper_unregister(string protocol) - Unregister a wrapper for the life of the current request. */ +/* {{{ Unregister a wrapper for the life of the current request. */ PHP_FUNCTION(stream_wrapper_unregister) { zend_string *protocol; @@ -549,8 +547,7 @@ PHP_FUNCTION(stream_wrapper_unregister) } /* }}} */ -/* {{{ proto bool stream_wrapper_restore(string protocol) - Restore the original protocol handler, overriding if necessary */ +/* {{{ Restore the original protocol handler, overriding if necessary */ PHP_FUNCTION(stream_wrapper_restore) { zend_string *protocol; -- cgit v1.2.1