X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=net%2Fdns.h;h=79ac76f590dc5cae6b91e510a908a48632fd970c;hb=61819012b6ae4b36627f08e86895d92ece75991d;hp=277c093ed333d305db5a5138e54ba829b0fbde20;hpb=1a32bf41881b5dbe3119cb77a33572b4d462cabf;p=oweals%2Fu-boot.git diff --git a/net/dns.h b/net/dns.h index 277c093ed3..79ac76f590 100644 --- a/net/dns.h +++ b/net/dns.h @@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Masami Komiya 2005 * Copyright 2009, Robin Getz - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, or (at - * your option) any later version. */ #ifndef __DNS_H__ @@ -32,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