<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>
Eric S. Raymond pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/3a0c138910dbf11588313ae1862c5dd6a73e203b">3a0c1389</a></strong>
<div>
<span>by Matt Selsky</span>
<i>at 2016-02-25T00:27:46-05:00</i>
</div>
<pre class='commit-message'>Fix warnings about unused variables and functions on systems without kernel PLL.</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
ntpd/ntp_loopfilter.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/3a0c138910dbf11588313ae1862c5dd6a73e203b#diff-0'>
<strong>
ntpd/ntp_loopfilter.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_loopfilter.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_loopfilter.c
</span><span style="color: #aaaaaa">@@ -120,13 +120,14 @@ static bool loop_started; /* true after LOOP_DRIFTINIT */
</span> static void rstclock (int, double); /* transition function */
static double direct_freq(double); /* direct set frequency */
static void set_freq(double); /* set frequency */
<span style="color: #000000;background-color: #ddffdd">+
+#ifdef HAVE_KERNEL_PLL
</span> #ifndef PATH_MAX
# define PATH_MAX MAX_PATH
#endif
static char relative_path[PATH_MAX + 1]; /* relative path per recursive make */
static char *this_file = NULL;
<span style="color: #000000;background-color: #ffdddd">-#ifdef HAVE_KERNEL_PLL
</span> static struct timex ntv; /* ntp_adjtime() parameters */
int pll_status; /* last kernel status bits */
#if defined(STA_NANO) && NTP_API == 4
<span style="color: #aaaaaa">@@ -190,7 +191,6 @@ sync_status(const char *what, int ostatus, int nstatus)
</span> snprintf(tbuf, sizeof(tbuf), "%s status: %s -> %s", what, obuf, nbuf);
report_event(EVNT_KERN, NULL, tbuf);
}
<span style="color: #000000;background-color: #ffdddd">-#endif /* HAVE_KERNEL_PLL */
</span>
/*
* file_name - return pointer to non-relative portion of this C file pathname
<span style="color: #aaaaaa">@@ -205,6 +205,7 @@ static char *file_name(void)
</span> }
return this_file;
}
<span style="color: #000000;background-color: #ddffdd">+#endif /* HAVE_KERNEL_PLL */
</span>
/*
* init_loopfilter - initialize loop filter data
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/3a0c138910dbf11588313ae1862c5dd6a73e203b">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/3a0c138910dbf11588313ae1862c5dd6a73e203b"}}</script>
</p>
</div>
</body>
</html>