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

@ -200,7 +200,7 @@ xmem_pread(void *_p, int size, unsigned long offset)
return size;
}
/*---------------------------------------------------------------------------*/
static const char *
static const unsigned char *
program_page(unsigned long offset, const unsigned char *p, int nbytes)
{
const unsigned char *end = p + nbytes;