diff options
Diffstat (limited to 'src/ath.c')
| -rw-r--r-- | src/ath.c | 51 | 
1 files changed, 0 insertions, 51 deletions
| @@ -49,11 +49,6 @@  #include "ath.h" -#define MUTEX_UNLOCKED	((ath_mutex_t) 0) -#define MUTEX_LOCKED	((ath_mutex_t) 1) -#define MUTEX_DESTROYED	((ath_mutex_t) 2) - -  #ifdef HAVE_W32_SYSTEM  #include <windows.h>  uintptr_t @@ -80,52 +75,6 @@ ath_self (void)  #endif -int -ath_mutex_init (ath_mutex_t *lock) -{ -#ifndef NDEBUG -  *lock = MUTEX_UNLOCKED; -#endif -  return 0; -} - - -int -ath_mutex_destroy (ath_mutex_t *lock) -{ -#ifndef NDEBUG -  assert (*lock == MUTEX_UNLOCKED); - -  *lock = MUTEX_DESTROYED; -#endif -  return 0; -} - - -int -ath_mutex_lock (ath_mutex_t *lock) -{ -#ifndef NDEBUG -  assert (*lock == MUTEX_UNLOCKED); - -  *lock = MUTEX_LOCKED; -#endif -  return 0; -} - - -int -ath_mutex_unlock (ath_mutex_t *lock) -{ -#ifndef NDEBUG -  assert (*lock == MUTEX_LOCKED); - -  *lock = MUTEX_UNLOCKED; -#endif -  return 0; -} - -  gpgme_ssize_t  ath_read (int fd, void *buf, size_t nbytes)  { | 
