[svn] gcry - r1166 - trunk/src

svn author marcus cvs at cvs.gnupg.org
Wed Jul 12 21:26:53 CEST 2006


Author: marcus
Date: 2006-07-12 21:26:52 +0200 (Wed, 12 Jul 2006)
New Revision: 1166

Modified:
   trunk/src/ChangeLog
   trunk/src/gcrypt.h
Log:
2006-07-12  Marcus Brinkmann  <marcus at g10code.de>

	* gcrypt.h (GCRY_THREAD_OPTION_PTHREAD_IMPL,
	(GCRY_THREAD_OPTION_PTH_IMPL): Add missing initializers to
	suppress gcc warning.
	Submitted by Victor Stinner <haypo at inl.fr>.


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2006-07-04 13:08:57 UTC (rev 1165)
+++ trunk/src/ChangeLog	2006-07-12 19:26:52 UTC (rev 1166)
@@ -1,3 +1,10 @@
+2006-07-12  Marcus Brinkmann  <marcus at g10code.de>
+
+	* gcrypt.h (GCRY_THREAD_OPTION_PTHREAD_IMPL,
+	(GCRY_THREAD_OPTION_PTH_IMPL): Add missing initializers to
+	suppress gcc warning.
+	Submitted by Victor Stinner <haypo at inl.fr>.
+
 2006-07-04  Marcus Brinkmann  <marcus at g10code.de>
 
 	* ath.c: Avoid warning about double defined type byte and other

Modified: trunk/src/gcrypt.h
===================================================================
--- trunk/src/gcrypt.h	2006-07-04 13:08:57 UTC (rev 1165)
+++ trunk/src/gcrypt.h	2006-07-12 19:26:52 UTC (rev 1166)
@@ -248,7 +248,8 @@
 static struct gcry_thread_cbs gcry_threads_pth = { GCRY_THREAD_OPTION_PTH,    \
   gcry_pth_init, gcry_pth_mutex_init, gcry_pth_mutex_destroy,		      \
   gcry_pth_mutex_lock, gcry_pth_mutex_unlock, gcry_pth_read, gcry_pth_write,  \
-  gcry_pth_select, gcry_pth_waitpid, gcry_pth_accept, gcry_pth_connect }
+  gcry_pth_select, gcry_pth_waitpid, gcry_pth_accept, gcry_pth_connect,       \
+  NULL, NULL }
 
 #define GCRY_THREAD_OPTION_PTHREAD_IMPL					      \
 static int gcry_pthread_mutex_init (void **priv)			      \
@@ -278,7 +279,8 @@
 static struct gcry_thread_cbs gcry_threads_pthread =			      \
 { GCRY_THREAD_OPTION_PTHREAD, NULL,					      \
   gcry_pthread_mutex_init, gcry_pthread_mutex_destroy,			      \
-  gcry_pthread_mutex_lock, gcry_pthread_mutex_unlock }
+  gcry_pthread_mutex_lock, gcry_pthread_mutex_unlock,                         \
+  NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
 
 
 /* The data object used to hold a multi precision integer.  */




More information about the Gnupg-commits mailing list