ahci: mediatek: add ahci driver
[platform/kernel/u-boot.git] / net / sntp.h
index bf5bf0b..d3cbfbc 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Masami Komiya <mkomiya@sonare.it> 2005
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __SNTP_H__
@@ -51,8 +50,8 @@ struct sntp_pkt_t {
        unsigned long long originate_timestamp;
        unsigned long long receive_timestamp;
        unsigned long long transmit_timestamp;
-};
+} __attribute__((packed));
 
-extern void SntpStart(void);   /* Begin SNTP */
+void sntp_start(void); /* Begin SNTP */
 
 #endif /* __SNTP_H__ */