X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=net%2Fsntp.h;h=d3cbfbc69a6b2c928fc18bda290fa14d1f45e7cd;hb=a389c9cd9363fb31007bcf76a889f2a42c510b7f;hp=1d0046e94b39a76ff4abe5f1e9c2383227e07678;hpb=8bd07c9aaf4628931ab8da6eb0f83e517d9381a7;p=oweals%2Fu-boot.git diff --git a/net/sntp.h b/net/sntp.h index 1d0046e94b..d3cbfbc69a 100644 --- a/net/sntp.h +++ b/net/sntp.h @@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Masami Komiya 2005 - * - * 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 __SNTP_H__ @@ -54,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__ */