Added *_close() function to all Rime modules
This commit is contained in:
parent
aa1389e873
commit
e4a739a76c
22 changed files with 108 additions and 23 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: abc.c,v 1.5 2007/03/19 19:24:36 adamdunkels Exp $
|
||||
* $Id: abc.c,v 1.6 2007/03/19 22:10:16 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -65,6 +65,12 @@ abc_open(struct abc_conn *c, u16_t channel,
|
|||
list_add(channels, c);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
abc_close(struct abc_conn *c)
|
||||
{
|
||||
list_remove(channels, c);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int
|
||||
abc_send(struct abc_conn *c)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue