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
|
@ -40,7 +40,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: rimebuf.h,v 1.10 2007/10/25 12:48:46 adamdunkels Exp $
|
||||
* $Id: rimebuf.h,v 1.11 2007/11/17 18:05:21 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -232,7 +232,7 @@ void rimebuf_compact(void);
|
|||
* copied into the rimbuf is returned.
|
||||
*
|
||||
*/
|
||||
int rimebuf_copyfrom(const u8_t *from, u16_t len);
|
||||
int rimebuf_copyfrom(const void *from, u16_t len);
|
||||
|
||||
/**
|
||||
* \brief Copy the entire rimebuf to an external buffer
|
||||
|
@ -252,7 +252,7 @@ int rimebuf_copyfrom(const u8_t *from, u16_t len);
|
|||
* returned.
|
||||
*
|
||||
*/
|
||||
int rimebuf_copyto(u8_t *to);
|
||||
int rimebuf_copyto(void *to);
|
||||
|
||||
/**
|
||||
* \brief Copy the header portion of the rimebuf to an external buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue