summaryrefslogtreecommitdiffstats
path: root/src/proto/igmp.c
diff options
context:
space:
mode:
authorMichael Brown2006-04-24 20:31:37 +0200
committerMichael Brown2006-04-24 20:31:37 +0200
commit832e86246b37c78466a5a30159bed48ed59eb811 (patch)
treec931cdff0738445ba4b5d432784ac11af323b35a /src/proto/igmp.c
parent(librm_base-1b) is already an offset; no need to apply OFFSET(). (diff)
downloadipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.gz
ipxe-832e86246b37c78466a5a30159bed48ed59eb811.tar.xz
ipxe-832e86246b37c78466a5a30159bed48ed59eb811.zip
gcc is rather over-aggressive about optimising out static data structures
even when __atribute__ (( unused )) is correctly set...
Diffstat (limited to 'src/proto/igmp.c')
-rw-r--r--src/proto/igmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/igmp.c b/src/proto/igmp.c
index aad530f7..4d4df900 100644
--- a/src/proto/igmp.c
+++ b/src/proto/igmp.c
@@ -112,7 +112,7 @@ static void process_igmp ( unsigned long now, unsigned short ptype __unused,
}
}
-static struct background igmp_background __background = {
+struct background igmp_background __background = {
.send = send_igmp_reports,
.process = process_igmp,
};