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

@ -47,7 +47,8 @@ uiplib_ipaddrconv(const char *addrstr, uip_ipaddr_t *ipaddr)
{
#if UIP_CONF_IPV6
uint16_t value;
int tmp, len, zero;
int tmp, zero;
unsigned int len;
char c = 0; //gcc warning if not initialized
value = 0;