X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=net%2Fsntp.h;h=d3cbfbc69a6b2c928fc18bda290fa14d1f45e7cd;hb=2f760735c170c854ffca76be5607cec5c56fdc4f;hp=6a9c6bb82fb9bbfe2235a232b29569ce2b85c113;hpb=b939689c7b87773c44275a578ffc8674a867e39d;p=oweals%2Fu-boot.git diff --git a/net/sntp.h b/net/sntp.h index 6a9c6bb82f..d3cbfbc69a 100644 --- a/net/sntp.h +++ b/net/sntp.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Masami Komiya 2005 - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __SNTP_H__ @@ -51,7 +50,7 @@ struct sntp_pkt_t { unsigned long long originate_timestamp; unsigned long long receive_timestamp; unsigned long long transmit_timestamp; -}; +} __attribute__((packed)); void sntp_start(void); /* Begin SNTP */