[Git][NTPsec/ntpsec][master] Restore build with no refclocks.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Jun 27 06:22:02 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
0a1dc6f3 by Eric S. Raymond at 2016-06-27T02:19:45-04:00
Restore build with no refclocks.

- - - - -


1 changed file:

- ntpd/ntp_parser.y


Changes:

=====================================
ntpd/ntp_parser.y
=====================================
--- a/ntpd/ntp_parser.y
+++ b/ntpd/ntp_parser.y
@@ -986,6 +986,7 @@ fudge_factor_bool_keyword
 refclock_command
 	:	T_Refclock T_String T_Unit T_Integer option_list fudge_factor_list
 		{
+#ifdef REFCLOCK
 			peer_node *my_node;
 			addr_opts_node *aon;
 			address_node *fakeaddr;
@@ -1012,6 +1013,7 @@ refclock_command
 			fakeaddr = create_address_node(dupaddr, AF_INET);
 			aon = create_addr_opts_node(fakeaddr, $6);
 			APPEND_G_FIFO(cfgt.fudge, aon);
+#endif /* REFCLOCK */
 		}
 	;
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/0a1dc6f38875a37edf8e6d547a851c04b1e02e20
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160627/9e29c5b5/attachment.html>


More information about the vc mailing list