X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Fdns.h;h=79ac76f590dc5cae6b91e510a908a48632fd970c;hb=e3ec0d03bb1df69e8c9aba3eebba0690dc8e538b;hp=dbc3890df9d3651a18406d35a1cdb67b9f7b6f53;hpb=326ea986ac150acdc7656d57fca647db80b50158;p=u-boot diff --git a/net/dns.h b/net/dns.h index dbc3890df9..79ac76f590 100644 --- a/net/dns.h +++ b/net/dns.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Masami Komiya 2005 * Copyright 2009, Robin Getz - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DNS_H__ @@ -29,8 +28,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