[Git][NTPsec/ntpsec][master] 2 commits: Typo in file name
James Browning
gitlab at mg.gitlab.com
Thu Feb 21 11:41:56 UTC 2019
James Browning pushed to branch master at NTPsec / ntpsec
Commits:
c189c666 by Matt Selsky at 2019-02-21T07:11:54Z
Typo in file name
- - - - -
8b4629da by Matt Selsky at 2019-02-21T07:11:54Z
Use "extern" keyword for declarations
Otherwise, it's possible to get compiler errors about symbols being defined
twice
- - - - -
2 changed files:
- include/ntpd.h
- include/nts.h
Changes:
=====================================
include/ntpd.h
=====================================
@@ -435,7 +435,7 @@ extern struct refclock * const refclock_conf[];
extern const uint8_t num_refclock_conf;
#endif
-/* ntd_extens.c */
+/* nts_extens.c */
bool extens_init(void);
int extens_client_send(struct peer *peer, struct pkt *xpkt);
bool extens_server_recv(struct ntspacket_t *ntspacket, uint8_t *pkt, int lng);
=====================================
include/nts.h
=====================================
@@ -192,14 +192,14 @@ uint16_t nts_next_uint16(BufCtl* buf);
uint16_t nts_next_bytes(BufCtl* buf, uint8_t *data, int length);
/* NTS-related system variables */
-uint64_t nts_client_send;
-uint64_t nts_client_recv;
-uint64_t nts_client_recv_bad;
-uint64_t nts_server_send;
-uint64_t nts_server_recv;
-uint64_t nts_server_recv_bad;
-uint64_t nts_server_recv_bad;
-uint64_t nts_ke_serves;
-uint64_t nts_ke_probes;
+extern uint64_t nts_client_send;
+extern uint64_t nts_client_recv;
+extern uint64_t nts_client_recv_bad;
+extern uint64_t nts_server_send;
+extern uint64_t nts_server_recv;
+extern uint64_t nts_server_recv_bad;
+extern uint64_t nts_server_recv_bad;
+extern uint64_t nts_ke_serves;
+extern uint64_t nts_ke_probes;
#endif /* GUARD_NTS_H */
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/54dd82ca13180b701f3d2fc78cbb26b17efdef29...8b4629daed98eed461a8bf9acaa3d0a90fbb7a74
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/54dd82ca13180b701f3d2fc78cbb26b17efdef29...8b4629daed98eed461a8bf9acaa3d0a90fbb7a74
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20190221/73535b2b/attachment-0001.html>
More information about the vc
mailing list