added static on the list send functions to get less compiler errors with IAR compiler

This commit is contained in:
Joakim Eriksson 2011-10-03 15:17:30 +02:00
parent 222f9bd3af
commit e0ae036a69
6 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {