mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-27 01:29:32 +00:00
Typecast to fix nightly build problem
This commit is contained in:
parent
dbacf3e781
commit
8430dab039
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: csma.c,v 1.1 2010/01/25 11:46:44 adamdunkels Exp $
|
* $Id: csma.c,v 1.2 2010/01/27 07:36:31 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -50,6 +50,8 @@
|
|||||||
#include "lib/list.h"
|
#include "lib/list.h"
|
||||||
#include "lib/memb.h"
|
#include "lib/memb.h"
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
struct queued_packet {
|
struct queued_packet {
|
||||||
struct queued_packet *next;
|
struct queued_packet *next;
|
||||||
struct queuebuf *buf;
|
struct queuebuf *buf;
|
||||||
@ -181,7 +183,7 @@ channel_check_interval(void)
|
|||||||
static char namebuf[NAMEBUF_LEN];
|
static char namebuf[NAMEBUF_LEN];
|
||||||
const struct mac_driver csma_driver = {
|
const struct mac_driver csma_driver = {
|
||||||
namebuf,
|
namebuf,
|
||||||
csma_init,
|
(const struct mac_driver *(*)(const struct radio_driver *psc))csma_init,
|
||||||
send_packet,
|
send_packet,
|
||||||
read_packet,
|
read_packet,
|
||||||
set_receive_function,
|
set_receive_function,
|
||||||
|
Loading…
Reference in New Issue
Block a user