projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: mem: Enable MEMTEST via defconfig
[oweals/u-boot.git]
/
net
/
sntp.h
diff --git
a/net/sntp.h
b/net/sntp.h
index 1d0046e94b39a76ff4abe5f1e9c2383227e07678..d3cbfbc69a6b2c928fc18bda290fa14d1f45e7cd 100644
(file)
--- a/
net/sntp.h
+++ b/
net/sntp.h
@@
-1,10
+1,6
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Masami Komiya <mkomiya@sonare.it> 2005
/*
* (C) Masami Komiya <mkomiya@sonare.it> 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__
*/
#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;
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__ */
#endif /* __SNTP_H__ */