Minor code style fixes to the contikimac and nullrdc code
This commit is contained in:
parent
ef25cc6c58
commit
0670a8e1e2
2 changed files with 41 additions and 33 deletions
|
@ -110,8 +110,9 @@ static void packet_sent(void *ptr, int status, int num_transmissions);
|
|||
static void transmit_packet_list(void *ptr);
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static struct
|
||||
neighbor_queue *neighbor_queue_from_addr(const rimeaddr_t *addr) {
|
||||
static struct neighbor_queue *
|
||||
neighbor_queue_from_addr(const rimeaddr_t *addr)
|
||||
{
|
||||
struct neighbor_queue *n = list_head(neighbor_list);
|
||||
while(n != NULL) {
|
||||
if(rimeaddr_cmp(&n->addr, addr)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue