[Git][NTPsec/ntpsec][master] Information hiding.

Eric S. Raymond gitlab at mg.gitlab.com
Fri Nov 11 04:28:26 UTC 2016


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


Commits:
71f87988 by Eric S. Raymond at 2016-11-10T23:28:02-05:00
Information hiding.

- - - - -


1 changed file:

- ntpfrob/jitter.c


Changes:

=====================================
ntpfrob/jitter.c
=====================================
--- a/ntpfrob/jitter.c
+++ b/ntpfrob/jitter.c
@@ -25,9 +25,8 @@
 #define NBUF	800002
 #define NSAMPLES 10
 
-char progname[10];
-double sys_residual;
-double average;
+static double sys_residual;
+static double average;
 
 /*
  * get_clocktime - return system time in NTP timestamp format.



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/71f87988feb390b0d5ffb152dcd9ac0776557a44
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161111/77f9509b/attachment.html>


More information about the vc mailing list