diff options
author | Max Semenik <maxsem.wiki@gmail.com> | 2020-07-01 16:32:55 +0300 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-06 21:13:34 +0200 |
commit | 2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c (patch) | |
tree | f23a5c00a96f30a62ddcf626b4c6a6d53809d14f /ext/bcmath/bcmath.c | |
parent | 47579986504022d3eab38e24fff5861d5e4eadad (diff) | |
download | php-git-2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c.tar.gz |
Remove proto comments from C files
Closes GH-5758
Diffstat (limited to 'ext/bcmath/bcmath.c')
-rw-r--r-- | ext/bcmath/bcmath.c | 45 |
1 files changed, 15 insertions, 30 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index f1e298b5cc..17f28f1781 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -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; |