* coop.c (coop_condition_variable_wait): Make this function
static. It's only useful internally --- you should never just wait on a condition variable. * coop-defs.h (coop_condition_variable_wait): Delete prototype.
This commit is contained in:
parent
859bb43171
commit
9086fa7771
2 changed files with 3 additions and 4 deletions
|
|
@ -149,7 +149,6 @@ typedef struct coop_c {
|
|||
typedef coop_c scm_cond_t;
|
||||
|
||||
extern int coop_condition_variable_init (coop_c*);
|
||||
extern int coop_condition_variable_wait (coop_c*);
|
||||
extern int coop_condition_variable_wait_mutex (coop_c*, coop_m*);
|
||||
extern int coop_condition_variable_signal (coop_c*);
|
||||
extern int coop_condition_variable_destroy (coop_c*);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
* If you do not wish that, delete this exception notice. */
|
||||
|
||||
|
||||
/* $Id: coop.c,v 1.11 1998-10-03 13:33:52 jimb Exp $ */
|
||||
/* $Id: coop.c,v 1.12 1998-10-04 12:10:11 jimb Exp $ */
|
||||
|
||||
/* Cooperative thread library, based on QuickThreads */
|
||||
|
||||
|
|
@ -385,10 +385,10 @@ coop_condition_variable_init (c)
|
|||
}
|
||||
|
||||
#ifdef __STDC__
|
||||
int
|
||||
static int
|
||||
coop_condition_variable_wait (coop_c *c)
|
||||
#else
|
||||
int
|
||||
static int
|
||||
coop_condition_variable_wait (c)
|
||||
coop_c *c;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue