com php-src: remove duplicated declaration, fix build: ext/mcrypt/mcrypt.c
| From: | Anatol Belski | Date: | Thu, 21 May 2015 08:56:14 +0000 |
| Subject: | com php-src: remove duplicated declaration, fix build: ext/mcrypt/mcrypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86855@lists.php.net to get a copy of this message | ||
Commit: 4fe938b0a95a0d328f57dbd2b20e62333fc3ff6c
Author: Anatol Belski <ab@php.net> Thu, 21 May 2015 10:56:14 +0200
Parents: e85653051ae63bb56de8077b56747f48fe4e50e3
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4fe938b0a95a0d328f57dbd2b20e62333fc3ff6c
Log:
remove duplicated declaration, fix build
Changed paths:
M ext/mcrypt/mcrypt.c
Diff:
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index 8eeb86d..4654850 100644
--- a/ext/mcrypt/mcrypt.c
+++ b/ext/mcrypt/mcrypt.c
@@ -381,12 +381,6 @@ static void php_mcrypt_module_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) /* {{{
}
/* }}} */
-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);