Fix every inclusion of gpgme_fix.h getting their own mutex

This commit is contained in:
hrxi 2023-06-20 20:42:11 +02:00 committed by fiaxh
parent c2efb214af
commit dd0038f5e2
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#include <gpgme_fix.h>
static GRecMutex gpgme_global_mutex = {0};
GRecMutex gpgme_global_mutex = {0};
gpgme_key_t gpgme_key_ref_vapi (gpgme_key_t key) {
gpgme_key_ref(key);

View file

@ -4,7 +4,7 @@
#include <glib.h>
#include <gpgme.h>
static GRecMutex gpgme_global_mutex;
extern GRecMutex gpgme_global_mutex;
gpgme_key_t gpgme_key_ref_vapi (gpgme_key_t key);
gpgme_key_t gpgme_key_unref_vapi (gpgme_key_t key);