Remove proto comments from C files

Closes GH-5758
This commit is contained in:
Max Semenik 2020-07-01 16:32:55 +03:00 committed by Máté Kocsis
parent 4757998650
commit 2b5de6f839
No known key found for this signature in database
GPG key ID: FD055E41728BF310
234 changed files with 3892 additions and 8084 deletions

View file

@ -70,8 +70,7 @@ static request_rec *php_apache_lookup_uri(char *filename)
return ap_sub_req_lookup_uri(filename, ctx->r, ctx->r->output_filters);
}
/* {{{ proto bool virtual(string uri)
Perform an apache sub-request */
/* {{{ Perform an apache sub-request */
PHP_FUNCTION(virtual)
{
char *filename;
@ -171,8 +170,7 @@ PHP_FUNCTION(apache_lookup_uri)
RETURN_FALSE;
}
/* {{{ proto array getallheaders(void)
Fetch all HTTP request headers */
/* {{{ Fetch all HTTP request headers */
PHP_FUNCTION(apache_request_headers)
{
php_struct *ctx;
@ -195,8 +193,7 @@ PHP_FUNCTION(apache_request_headers)
}
/* }}} */
/* {{{ proto array apache_response_headers(void)
Fetch all HTTP response headers */
/* {{{ Fetch all HTTP response headers */
PHP_FUNCTION(apache_response_headers)
{
php_struct *ctx;
@ -219,8 +216,7 @@ PHP_FUNCTION(apache_response_headers)
}
/* }}} */
/* {{{ proto string apache_note(string note_name [, string note_value])
Get and set Apache request notes */
/* {{{ Get and set Apache request notes */
PHP_FUNCTION(apache_note)
{
php_struct *ctx;
@ -249,8 +245,7 @@ PHP_FUNCTION(apache_note)
/* }}} */
/* {{{ proto bool apache_setenv(string variable, string value [, bool walk_to_top])
Set an Apache subprocess_env variable */
/* {{{ Set an Apache subprocess_env variable */
/*
* XXX this doesn't look right. shouldn't it be the parent ?*/
PHP_FUNCTION(apache_setenv)
@ -283,8 +278,7 @@ PHP_FUNCTION(apache_setenv)
}
/* }}} */
/* {{{ proto bool apache_getenv(string variable [, bool walk_to_top])
Get an Apache subprocess_env variable */
/* {{{ Get an Apache subprocess_env variable */
/*
* XXX: shouldn't this be the parent not the 'prev'
*/
@ -332,8 +326,7 @@ static char *php_apache_get_version()
#endif
}
/* {{{ proto string apache_get_version(void)
Fetch Apache version */
/* {{{ Fetch Apache version */
PHP_FUNCTION(apache_get_version)
{
char *apv = php_apache_get_version();
@ -346,8 +339,7 @@ PHP_FUNCTION(apache_get_version)
}
/* }}} */
/* {{{ proto array apache_get_modules(void)
Get a list of loaded Apache modules */
/* {{{ Get a list of loaded Apache modules */
PHP_FUNCTION(apache_get_modules)
{
int n;