Merge branch 'master' of git://git.denx.de/u-boot-usb
[oweals/u-boot.git] / net / dns.h
index 277c093ed333d305db5a5138e54ba829b0fbde20..79ac76f590dc5cae6b91e510a908a48632fd970c 100644 (file)
--- a/net/dns.h
+++ b/net/dns.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Masami Komiya <mkomiya@sonare.it> 2005
  *  Copyright 2009, Robin Getz <rgetz@blackfin.uclinux.org>
- *
- * 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