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

@ -79,8 +79,7 @@ PHP_INI_BEGIN()
PHP_INI_END()
/* }}} */
/* {{{ PHP_GINIT_FUNCTION
*/
/* {{{ PHP_GINIT_FUNCTION */
static PHP_GINIT_FUNCTION(bcmath)
{
#if defined(COMPILE_DL_BCMATH) && defined(ZTS)
@ -91,8 +90,7 @@ static PHP_GINIT_FUNCTION(bcmath)
}
/* }}} */
/* {{{ PHP_GSHUTDOWN_FUNCTION
*/
/* {{{ PHP_GSHUTDOWN_FUNCTION */
static PHP_GSHUTDOWN_FUNCTION(bcmath)
{
_bc_free_num_ex(&bcmath_globals->_zero_, 1);
@ -101,8 +99,7 @@ static PHP_GSHUTDOWN_FUNCTION(bcmath)
}
/* }}} */
/* {{{ PHP_MINIT_FUNCTION
*/
/* {{{ PHP_MINIT_FUNCTION */
PHP_MINIT_FUNCTION(bcmath)
{
REGISTER_INI_ENTRIES();
@ -111,8 +108,7 @@ PHP_MINIT_FUNCTION(bcmath)
}
/* }}} */
/* {{{ PHP_MSHUTDOWN_FUNCTION
*/
/* {{{ PHP_MSHUTDOWN_FUNCTION */
PHP_MSHUTDOWN_FUNCTION(bcmath)
{
UNREGISTER_INI_ENTRIES();
@ -121,8 +117,7 @@ PHP_MSHUTDOWN_FUNCTION(bcmath)
}
/* }}} */
/* {{{ PHP_MINFO_FUNCTION
*/
/* {{{ PHP_MINFO_FUNCTION */
PHP_MINFO_FUNCTION(bcmath)
{
php_info_print_table_start();
@ -151,8 +146,7 @@ static void php_str2num(bc_num *num, char *str)
}
/* }}} */
/* {{{ proto string bcadd(string left_operand, string right_operand [, int scale])
Returns the sum of two arbitrary precision numbers */
/* {{{ Returns the sum of two arbitrary precision numbers */
PHP_FUNCTION(bcadd)
{
zend_string *left, *right;
@ -192,8 +186,7 @@ PHP_FUNCTION(bcadd)
}
/* }}} */
/* {{{ proto string bcsub(string left_operand, string right_operand [, int scale])
Returns the difference between two arbitrary precision numbers */
/* {{{ Returns the difference between two arbitrary precision numbers */
PHP_FUNCTION(bcsub)
{
zend_string *left, *right;
@ -233,8 +226,7 @@ PHP_FUNCTION(bcsub)
}
/* }}} */
/* {{{ proto string bcmul(string left_operand, string right_operand [, int scale])
Returns the multiplication of two arbitrary precision numbers */
/* {{{ Returns the multiplication of two arbitrary precision numbers */
PHP_FUNCTION(bcmul)
{
zend_string *left, *right;
@ -274,8 +266,7 @@ PHP_FUNCTION(bcmul)
}
/* }}} */
/* {{{ proto string bcdiv(string left_operand, string right_operand [, int scale])
Returns the quotient of two arbitrary precision numbers (division) */
/* {{{ Returns the quotient of two arbitrary precision numbers (division) */
PHP_FUNCTION(bcdiv)
{
zend_string *left, *right;
@ -322,8 +313,7 @@ PHP_FUNCTION(bcdiv)
}
/* }}} */
/* {{{ proto string bcmod(string left_operand, string right_operand [, int scale])
Returns the modulus of the two arbitrary precision operands */
/* {{{ Returns the modulus of the two arbitrary precision operands */
PHP_FUNCTION(bcmod)
{
zend_string *left, *right;
@ -369,8 +359,7 @@ PHP_FUNCTION(bcmod)
}
/* }}} */
/* {{{ proto string bcpowmod(string x, string y, string mod [, int scale])
Returns the value of an arbitrary precision number raised to the power of another reduced by a modulus */
/* {{{ Returns the value of an arbitrary precision number raised to the power of another reduced by a modulus */
PHP_FUNCTION(bcpowmod)
{
zend_string *left, *right, *modulus;
@ -423,8 +412,7 @@ PHP_FUNCTION(bcpowmod)
}
/* }}} */
/* {{{ proto string bcpow(string x, string y [, int scale])
Returns the value of an arbitrary precision number raised to the power of another */
/* {{{ Returns the value of an arbitrary precision number raised to the power of another */
PHP_FUNCTION(bcpow)
{
zend_string *left, *right;
@ -463,8 +451,7 @@ PHP_FUNCTION(bcpow)
}
/* }}} */
/* {{{ proto string bcsqrt(string operand [, int scale])
Returns the square root of an arbitrary precision number */
/* {{{ Returns the square root of an arbitrary precision number */
PHP_FUNCTION(bcsqrt)
{
zend_string *left;
@ -502,8 +489,7 @@ PHP_FUNCTION(bcsqrt)
}
/* }}} */
/* {{{ proto int bccomp(string left_operand, string right_operand [, int scale])
Compares two arbitrary precision numbers */
/* {{{ Compares two arbitrary precision numbers */
PHP_FUNCTION(bccomp)
{
zend_string *left, *right;
@ -545,8 +531,7 @@ PHP_FUNCTION(bccomp)
}
/* }}} */
/* {{{ proto int bcscale([int scale])
Sets default scale parameter for all bc math functions */
/* {{{ Sets default scale parameter for all bc math functions */
PHP_FUNCTION(bcscale)
{
zend_long old_scale, new_scale;