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: ether.h,v 1.5 2007/03/22 18:59:34 adamdunkels Exp $
|
||||
* $Id: ether.h,v 1.6 2007/11/17 18:09:18 adamdunkels Exp $
|
||||
*/
|
||||
#ifndef __ETHER_H__
|
||||
#define __ETHER_H__
|
||||
|
@ -67,6 +67,8 @@ void ether_put(char *packet, int len, int src_x, int src_y);
|
|||
void ether_send_sensor_data(struct sensor_data *d, int srcx, int srcy, int strength);
|
||||
|
||||
|
||||
int ether_client_poll(void);
|
||||
|
||||
struct ether_packet * ether_packets(void);
|
||||
|
||||
clock_time_t ether_time(void);
|
||||
|
@ -78,6 +80,6 @@ void ether_set_strength(int s);
|
|||
void ether_set_collisions(int c);
|
||||
void ether_set_drop_probability(double p);
|
||||
|
||||
int ether_print_stats(void);
|
||||
void ether_print_stats(void);
|
||||
|
||||
#endif /* __ETHER_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue