Several compiler warning fixes:

* msp430: fix "implicit declaration of function" warnings in clock.c, by including watchdog.h;
     * sky: fix a couple pointer target signedness warnings;
     * core: fix several signed/unsigned comparison warnings;
     * framer-802154: "const static" -> "static const" to fix compiler warnings;
     * core: comment or remove unused variables and function definitions.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Mariano Alvira <mar@devl.org>
This commit is contained in:
Lionel Debroux 2011-02-19 08:25:29 +00:00 committed by Mariano Alvira
parent 01b7a4f7f2
commit 5cb49e8b07
11 changed files with 21 additions and 17 deletions

View file

@ -46,7 +46,8 @@ uip_debug_ipaddr_print(const uip_ipaddr_t *addr)
{
#if UIP_CONF_IPV6
uint16_t a;
int i, f;
unsigned int i;
int f;
for(i = 0, f = 0; i < sizeof(uip_ipaddr_t); i += 2) {
a = (addr->u8[i] << 8) + addr->u8[i + 1];
if(a == 0 && f >= 0) {
@ -70,7 +71,7 @@ uip_debug_ipaddr_print(const uip_ipaddr_t *addr)
void
uip_debug_lladdr_print(const uip_lladdr_t *addr)
{
int i;
unsigned int i;
for(i = 0; i < sizeof(uip_lladdr_t); i++) {
if(i > 0) {
printf(":");