* threads.c, threads.h (scm_cond_init): Undo unintentional API
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 7 Nov 2002 13:29:12 +0000 (13:29 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 7 Nov 2002 13:29:12 +0000 (13:29 +0000)
change.

libguile/ChangeLog
libguile/threads.c
libguile/threads.h

index 8d4df18..f7e50bf 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-07  Mikael Djurfeldt  <mdj@linnaeus>
+
+       * threads.c, threads.h (scm_cond_init): Undo unintentional API
+       change.
+
 2002-11-04  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
 
        * coop.c (coop_next_runnable_thread): Removed, wich should have
index 9896d44..56792dc 100644 (file)
@@ -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;
index 82ebc3e..965326e 100644 (file)
@@ -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);