X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=net%2Fsntp.h;h=d3cbfbc69a6b2c928fc18bda290fa14d1f45e7cd;hb=deb287b561233a1a9718ec87360dfa2079144e60;hp=bf5bf0bb01d6dae7392608d38d46227c00b7e64b;hpb=326ea986ac150acdc7656d57fca647db80b50158;p=oweals%2Fu-boot.git diff --git a/net/sntp.h b/net/sntp.h index bf5bf0bb01..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,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__ */