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

@ -108,9 +108,6 @@ collect_link_estimate_update_rx(struct collect_link_estimate *n)
uint16_t
collect_link_estimate(struct collect_link_estimate *le)
{
int i;
uint16_t etx;
if(le->num_estimates == 0) {
return INITIAL_LINK_ESTIMATE * COLLECT_LINK_ESTIMATE_UNIT;
}