* threads.c (GET_NO_PTHREAD_TSD) [!HAVE_PRAGMA_WEAK_REF]: Macro result type
authorKen Raeburn <raeburn@mit.edu>
Sun, 8 Aug 2004 21:22:41 +0000 (21:22 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 8 Aug 2004 21:22:41 +0000 (21:22 +0000)
should be pointer to tsd_block.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16648 dc483132-0cff-0310-8789-dd5450dbe970

src/util/support/ChangeLog
src/util/support/threads.c

index d460e54432e7a36f2f913e52836c9691e86b61f2..441cd1f5046c20662ced7af368a3d191f98d2b99 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-08  Ken Raeburn  <raeburn@mit.edu>
+
+       * threads.c (GET_NO_PTHREAD_TSD) [!HAVE_PRAGMA_WEAK_REF]: Macro
+       result type should be pointer to tsd_block.
+
 2004-07-31  Ken Raeburn  <raeburn@mit.edu>
 
        * threads.c (krb5int_thread_support_init): Do finish
index dd9819487785ce22b4f531439cfc6b37cd00c394..eb27f1cf9771d0d35da0e9cc0097c781618993c2 100644 (file)
@@ -109,7 +109,7 @@ struct tsd_block {
 static struct tsd_block tsd_if_single;
 # define GET_NO_PTHREAD_TSD()  (&tsd_if_single)
 #else
-# define GET_NO_PTHREAD_TSD()  (abort(),0)
+# define GET_NO_PTHREAD_TSD()  (abort(),(struct tsd_block *)0)
 #endif
 
 static pthread_key_t key;