Protect from multiple decl's

This commit is contained in:
Jim Jagielski 2013-07-17 13:00:21 +00:00
parent 48472e9516
commit c2f35bc69a
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ typedef struct gnupg_object{
HashTable *decryptkeys;
} gnupg_object;
zend_class_entry *gnupg_class_entry;
static zend_class_entry *gnupg_class_entry;
PHP_MINIT_FUNCTION(gnupg);
PHP_MSHUTDOWN_FUNCTION(gnupg);

View file

@ -41,7 +41,7 @@ typedef struct _gnupg_keylistiterator_object{
zval pattern;
} gnupg_keylistiterator_object;
zend_class_entry *gnupg_keylistiterator_class_entry;
static zend_class_entry *gnupg_keylistiterator_class_entry;
PHP_METHOD(gnupg_keylistiterator, __construct);
PHP_METHOD(gnupg_keylistiterator, current);