diff options
Diffstat (limited to 'src/gpg-error.h.in')
-rw-r--r-- | src/gpg-error.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index adb796b..4bd28bf 100644 --- a/src/gpg-error.h.in +++ b/src/gpg-error.h.in @@ -291,7 +291,8 @@ gpg_error_from_syserror (void) #define GPGRT_LOCK_DEFINE(name) \ static gpgrt_lock_t name = GPGRT_LOCK_INITIALIZER - +/* NB: If GPGRT_LOCK_DEFINE is not used, zero out the lock variable + before passing it to gpgrt_lock_init. */ gpg_err_code_t gpgrt_lock_init (gpgrt_lock_t *lockhd); gpg_err_code_t gpgrt_lock_lock (gpgrt_lock_t *lockhd); gpg_err_code_t gpgrt_lock_unlock (gpgrt_lock_t *lockhd); |