API change for Rime: *_setup() renamed to *_open()
This commit is contained in:
parent
a97285863e
commit
43326b5ae6
27 changed files with 73 additions and 73 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: sibc.c,v 1.3 2007/03/15 19:43:07 adamdunkels Exp $
|
||||
* $Id: sibc.c,v 1.4 2007/03/19 19:24:37 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -56,10 +56,10 @@ recv_from_ibc(struct ibc_conn *ibc, rimeaddr_t *from)
|
|||
static const struct ibc_callbacks sibc = {recv_from_ibc};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
sibc_setup(struct sibc_conn *c, u16_t channel,
|
||||
sibc_open(struct sibc_conn *c, u16_t channel,
|
||||
const struct sibc_callbacks *u)
|
||||
{
|
||||
ibc_setup(&c->c, channel, &sibc);
|
||||
ibc_open(&c->c, channel, &sibc);
|
||||
c->u = u;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue