[Git][NTPsec/ntpsec][master] Fix for issue #478 (warning from musl libc)

Hal Murray gitlab at mg.gitlab.com
Sat Apr 7 12:22:13 UTC 2018


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
b9516157 by Hal Murray at 2018-04-07T12:21:43Z
Fix for issue #478 (warning from musl libc)

- - - - -


1 changed file:

- ntptime/ntptime.c


Changes:

=====================================
ntptime/ntptime.c
=====================================
--- a/ntptime/ntptime.c
+++ b/ntptime/ntptime.c
@@ -47,7 +47,7 @@ struct ntptimeval
 
 /* MUSL port shim */
 #ifndef HAVE_NTP_GETTIME
-int ntp_gettime(struct ntptimeval *ntv)
+static int ntp_gettime(struct ntptimeval *ntv)
 {
 	struct timex tntx;
 	int result;



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b95161574d0287aad9b89f3ddd85575216a592ed

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b95161574d0287aad9b89f3ddd85575216a592ed
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/20180407/40ad6247/attachment.html>


More information about the vc mailing list