bugfix: structs should be declared static

This commit is contained in:
fros4943 2010-03-22 11:32:29 +00:00
parent 3394a3ef23
commit 95e870cc46
2 changed files with 4 additions and 4 deletions

View file

@ -33,7 +33,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: broadcast-announcement.c,v 1.1 2010/03/19 13:15:19 adamdunkels Exp $
* $Id: broadcast-announcement.c,v 1.2 2010/03/22 11:32:29 fros4943 Exp $
*/
/**
@ -76,7 +76,7 @@ struct announcement_msg {
};
struct broadcast_announcement_state {
static struct broadcast_announcement_state {
struct broadcast_conn c;
struct ctimer send_timer, interval_timer;
clock_time_t initial_interval, min_interval, max_interval;

View file

@ -33,7 +33,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: polite-announcement.c,v 1.12 2010/03/19 13:17:31 adamdunkels Exp $
* $Id: polite-announcement.c,v 1.13 2010/03/22 11:32:29 fros4943 Exp $
*/
/**
@ -75,7 +75,7 @@ struct announcement_msg {
};
struct polite_announcement_state {
static struct polite_announcement_state {
struct ipolite_conn c;
struct ctimer t;
clock_time_t interval;