cvs: php-src(PHP_5_2) /ext/gmp gmp.c
| From: | Jani Taskinen | Date: | Fri, 16 Jun 2006 00:14:35 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/gmp gmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38761@lists.php.net to get a copy of this message | ||
sniper Fri Jun 16 00:14:35 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/gmp gmp.c
Log:
Fix build. (gmp_nextprime() was added in PHP 6!)
http://cvs.php.net/viewcvs.cgi/php-src/ext/gmp/gmp.c?r1=1.49.2.2.2.2&r2=1.49.2.2.2.3&diff_format=u
Index: php-src/ext/gmp/gmp.c
diff -u php-src/ext/gmp/gmp.c:1.49.2.2.2.2 php-src/ext/gmp/gmp.c:1.49.2.2.2.3
--- php-src/ext/gmp/gmp.c:1.49.2.2.2.2 Thu Jun 15 18:33:07 2006
+++ php-src/ext/gmp/gmp.c Fri Jun 16 00:14:35 2006
@@ -219,11 +219,6 @@
ZEND_END_ARG_INFO()
static
-ZEND_BEGIN_ARG_INFO(arginfo_gmp_nextprime, 0)
- ZEND_ARG_INFO(0, a)
-ZEND_END_ARG_INFO()
-
-static
ZEND_BEGIN_ARG_INFO(arginfo_gmp_xor, 0)
ZEND_ARG_INFO(0, a)
ZEND_ARG_INFO(0, b)
@@ -312,7 +307,6 @@
ZEND_FE(gmp_scan1, arginfo_gmp_scan1)
ZEND_FE(gmp_popcount, arginfo_gmp_popcount)
ZEND_FE(gmp_hamdist, arginfo_gmp_hamdist)
- ZEND_FE(gmp_nextprime, arginfo_gmp_nextprime)
{NULL, NULL, NULL} /* Must be the last line in gmp_functions[] */
};
/* }}} */