From e5a830847e15c4d341eaffe6ec09425a047cb2a1 Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Thu, 7 Nov 2002 13:29:12 +0000 Subject: [PATCH] * threads.c, threads.h (scm_cond_init): Undo unintentional API change. --- libguile/ChangeLog | 5 +++++ libguile/threads.c | 2 +- libguile/threads.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 8d4df1854..f7e50bf69 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,8 @@ +2002-11-07 Mikael Djurfeldt + + * threads.c, threads.h (scm_cond_init): Undo unintentional API + change. + 2002-11-04 Marius Vollmer * coop.c (coop_next_runnable_thread): Removed, wich should have diff --git a/libguile/threads.c b/libguile/threads.c index 9896d4414..56792dc25 100644 --- a/libguile/threads.c +++ b/libguile/threads.c @@ -203,7 +203,7 @@ scm_mutex_destroy (scm_t_mutex *m) } SCM_API int -scm_cond_init (scm_t_cond *c) +scm_cond_init (scm_t_cond *c, int *cattr) { scm_gc_protect_object (c->c = scm_make_condition_variable ()); return 0; diff --git a/libguile/threads.h b/libguile/threads.h index 82ebc3ef2..965326e00 100644 --- a/libguile/threads.h +++ b/libguile/threads.h @@ -144,7 +144,7 @@ typedef struct { SCM c; } scm_t_cond; -SCM_API int scm_cond_init (scm_t_cond *c); +SCM_API int scm_cond_init (scm_t_cond *c, int *cattr); SCM_API int scm_cond_wait (scm_t_cond *c, scm_t_mutex *m); SCM_API int scm_cond_timedwait (scm_t_cond *c, scm_t_mutex *m, const struct timespec *abstime); -- 2.20.1