X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Fdns.h;h=c55a5c1b04660ab4bf49a73d26a71f1005f2e2b3;hb=cf0bcd7d02e9f1774a3a6643ec4739c8c0aef217;hp=dbc3890df9d3651a18406d35a1cdb67b9f7b6f53;hpb=326ea986ac150acdc7656d57fca647db80b50158;p=u-boot diff --git a/net/dns.h b/net/dns.h index dbc3890df9..c55a5c1b04 100644 --- a/net/dns.h +++ b/net/dns.h @@ -29,8 +29,8 @@ struct header { uint16_t nauth; /* Authority PRs */ uint16_t nother; /* Other PRs */ unsigned char data[1]; /* Data, variable length */ -}; +} __attribute__((packed)); -extern void DnsStart(void); /* Begin DNS */ +void dns_start(void); /* Begin DNS */ #endif