[Git][NTPsec/ntpsec][master] Remove a now-unused prototype.
Eric S. Raymond
gitlab at mg.gitlab.com
Sat Jul 2 12:32:11 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
08bd5623 by Eric S. Raymond at 2016-07-02T08:32:02-04:00
Remove a now-unused prototype.
- - - - -
2 changed files:
- ntpdig/main.c
- ntpdig/main.h
Changes:
=====================================
ntpdig/main.c
=====================================
--- a/ntpdig/main.c
+++ b/ntpdig/main.c
@@ -13,6 +13,7 @@
#include "utilities.h"
#include "log.h"
#include "libntp.h"
+#include "ntp_intres.h"
bool shutting_down;
bool time_derived;
=====================================
ntpdig/main.h
=====================================
--- a/ntpdig/main.h
+++ b/ntpdig/main.h
@@ -8,7 +8,6 @@
#include <ntp.h>
#include <ntp_unixtime.h>
#include <ntp_stdlib.h>
-#include <ntp_intres.h>
#include <ntp_debug.h>
#include <timevalops.h>
@@ -23,7 +22,6 @@ int handle_pkt(int rpktl, struct pkt *rpkt, sockaddr_u *host,
void offset_calculation(struct pkt *rpkt, int rpktl,
struct timeval *tv_dst, double *offset,
double *precision, double *root_dispersion);
-int on_wire(struct addrinfo *host, struct addrinfo *bcastaddr);
int set_time(double offset);
#endif /* GUARD_MAIN_H */
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/08bd5623cee72cab164164aa1af70e5da66109a9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160702/fee0819c/attachment.html>
More information about the vc
mailing list