Fixed compiler warnings to make code compile with gcc's -pedantic switch
This commit is contained in:
parent
607d27e0c6
commit
1e1e44a3f8
42 changed files with 313 additions and 286 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: ethernode.h,v 1.3 2007/05/22 21:09:19 adamdunkels Exp $
|
||||
* $Id: ethernode.h,v 1.4 2007/11/17 18:09:19 adamdunkels Exp $
|
||||
*/
|
||||
#ifndef __ETHERNODE_H__
|
||||
#define __ETHERNODE_H__
|
||||
|
@ -40,9 +40,9 @@
|
|||
#include "dev/radio.h"
|
||||
|
||||
void ethernode_init(int port);
|
||||
u16_t ethernode_read(u8_t *buf, u16_t bufsize);
|
||||
int ethernode_read(void *buf, unsigned short bufsize);
|
||||
u8_t ethernode_send(void);
|
||||
int ethernode_send_buf(const u8_t *buf, u16_t len);
|
||||
int ethernode_send_buf(const void *buf, unsigned short len);
|
||||
void ethernode_periodic(void);
|
||||
void ethernode_set_receiver(void (* recv)(const struct radio_driver *));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue