From 6e678f81f0051ceef00391e770a67c65939d7b6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 6 Aug 1998 21:46:56 +0200
Subject: [PATCH] Fixed co_init() in the pthread_condattr_default case.

Rev: src/threads.h:1.47
---
 src/threads.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/threads.h b/src/threads.h
index 52bfdcb4f2..9542577b46 100644
--- a/src/threads.h
+++ b/src/threads.h
@@ -1,5 +1,5 @@
 /*
- * $Id: threads.h,v 1.46 1998/07/17 13:29:16 grubba Exp $
+ * $Id: threads.h,v 1.47 1998/08/06 19:46:56 grubba Exp $
  */
 #ifndef THREADS_H
 #define THREADS_H
@@ -87,7 +87,7 @@ extern pthread_attr_t small_pattr;
 #define COND_T pthread_cond_t
 
 #ifdef HAVE_PTHREAD_CONDATTR_DEFAULT
-#define co_init(X) pthread_cond_init((X), pthread_condattr_default)
+#define co_init(X) pthread_cond_init((X), &pthread_condattr_default)
 #else
 #define co_init(X) pthread_cond_init((X), 0)
 #endif /* HAVE_PTHREAD_CONDATTR_DEFAULT */
-- 
GitLab