Fixed typo introduced back in October
authorWerner Koch <wk@gnupg.org>
Fri, 16 Mar 2007 08:29:42 +0000 (08:29 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 16 Mar 2007 08:29:42 +0000 (08:29 +0000)
src/ChangeLog
src/gcrypt.h.in

index 44eef50..70e18d7 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-16  Werner Koch  <wk@g10code.com>
+
+       * gcrypt.h.in (GCRY_THREAD_OPTION_PTHREAD_IMPL): Fixed typo
+       introduced by me on 2006-10-23.
+
 2007-02-22  Werner Koch  <wk@g10code.com>
 
        * gcrypt.h.in (gcry_ac_id_to_name, gcry_ac_name_to_id): Mark as
index de6c7cc..2947e4f 100644 (file)
@@ -275,12 +275,12 @@ static int gcry_pthread_mutex_init (void **priv)                        \
   return err;                                                                \
 }                                                                            \
 static int gcry_pthread_mutex_destroy (void **lock)                          \
-  { int err = pthread_mutex_destroy ((phread_mutex_t*)*lock);                 \
+  { int err = pthread_mutex_destroy ((pthread_mutex_t*)*lock);                \
     free (*lock); return err; }                                               \
 static int gcry_pthread_mutex_lock (void **lock)                             \
-  { return pthread_mutex_lock ((phread_mutex_t*)*lock); }                    \
+  { return pthread_mutex_lock ((pthread_mutex_t*)*lock); }                   \
 static int gcry_pthread_mutex_unlock (void **lock)                           \
-  { return pthread_mutex_unlock ((phread_mutex_t*)*lock); }                  \
+  { return pthread_mutex_unlock ((pthread_mutex_t*)*lock); }                 \
                                                                              \
 static struct gcry_thread_cbs gcry_threads_pthread =                         \
 { GCRY_THREAD_OPTION_PTHREAD, NULL,                                          \