summaryrefslogtreecommitdiff
path: root/sapi/apache2handler
diff options
context:
space:
mode:
authorMax Semenik <maxsem.wiki@gmail.com>2020-07-01 16:32:55 +0300
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-06 21:13:34 +0200
commit2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c (patch)
treef23a5c00a96f30a62ddcf626b4c6a6d53809d14f /sapi/apache2handler
parent47579986504022d3eab38e24fff5861d5e4eadad (diff)
downloadphp-git-2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c.tar.gz
Remove proto comments from C files
Closes GH-5758
Diffstat (limited to 'sapi/apache2handler')
-rw-r--r--sapi/apache2handler/php_functions.c24
1 files changed, 8 insertions, 16 deletions
diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c
index 834a079ee8..1a601e6906 100644
--- a/sapi/apache2handler/php_functions.c
+++ b/sapi/apache2handler/php_functions.c
@@ -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;