mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
added static on the list send functions to get less compiler errors with IAR compiler
This commit is contained in:
parent
222f9bd3af
commit
e0ae036a69
@ -736,7 +736,7 @@ qsend_packet(mac_callback_t sent, void *ptr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
static void
|
||||||
qsend_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
qsend_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
||||||
{
|
{
|
||||||
struct rdc_buf_list *curr = buf_list;
|
struct rdc_buf_list *curr = buf_list;
|
||||||
|
@ -699,7 +699,7 @@ qsend_packet(mac_callback_t sent, void *ptr)
|
|||||||
mac_call_sent_callback(sent, ptr, ret, 1);
|
mac_call_sent_callback(sent, ptr, ret, 1);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
static void
|
||||||
qsend_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
qsend_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
||||||
{
|
{
|
||||||
if(buf_list != NULL) {
|
if(buf_list != NULL) {
|
||||||
|
@ -726,7 +726,7 @@ send_packet(mac_callback_t sent, void *ptr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
static void
|
||||||
send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
||||||
{
|
{
|
||||||
if(buf_list != NULL) {
|
if(buf_list != NULL) {
|
||||||
|
@ -56,7 +56,7 @@ send_packet(mac_callback_t sent, void *ptr)
|
|||||||
mac_call_sent_callback(sent, ptr, ret, 1);
|
mac_call_sent_callback(sent, ptr, ret, 1);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
static void
|
||||||
send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
||||||
{
|
{
|
||||||
if(buf_list != NULL) {
|
if(buf_list != NULL) {
|
||||||
|
@ -201,7 +201,7 @@ send_packet(mac_callback_t sent, void *ptr)
|
|||||||
mac_call_sent_callback(sent, ptr, ret, 1);
|
mac_call_sent_callback(sent, ptr, ret, 1);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
static void
|
||||||
send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
send_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
||||||
{
|
{
|
||||||
if(buf_list != NULL) {
|
if(buf_list != NULL) {
|
||||||
|
@ -763,7 +763,7 @@ qsend_packet(mac_callback_t sent, void *ptr)
|
|||||||
mac_call_sent_callback(sent, ptr, ret, 1);
|
mac_call_sent_callback(sent, ptr, ret, 1);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
static void
|
||||||
qsend_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
qsend_list(mac_callback_t sent, void *ptr, struct rdc_buf_list *buf_list)
|
||||||
{
|
{
|
||||||
if(buf_list != NULL) {
|
if(buf_list != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user