com php-src: Fixed build: ext/mcrypt/mcrypt.c
| From: | Dmitry Stogov | Date: | Wed, 13 May 2015 15:53:58 +0000 |
| Subject: | com php-src: Fixed build: ext/mcrypt/mcrypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86749@lists.php.net to get a copy of this message | ||
Commit: f51e4ae42e2ca81f831aa9ce6af1e7da2a867f69
Author: Dmitry Stogov <dmitry@zend.com> Wed, 13 May 2015 18:53:58 +0300
Parents: 40d843213892cbfe36298e84670df12e03047fc5
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f51e4ae42e2ca81f831aa9ce6af1e7da2a867f69
Log:
Fixed build
Changed paths:
M ext/mcrypt/mcrypt.c
Diff:
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index f6d8c91..3efe5d2 100644
--- a/ext/mcrypt/mcrypt.c
+++ b/ext/mcrypt/mcrypt.c
@@ -346,12 +346,6 @@ static void php_mcrypt_module_dtor(zend_resource *rsrc) /* {{{ */
}
/* }}} */
-typedef enum {
- RANDOM = 0,
- URANDOM,
- RAND
-} iv_source;
-
static PHP_MINIT_FUNCTION(mcrypt) /* {{{ */
{
le_mcrypt = zend_register_list_destructors_ex(php_mcrypt_module_dtor, NULL, "mcrypt",
module_number);