[Midnightbsd-cvs] src [11748] trunk/usr.sbin/rdate/ntp.c: fix warning
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Jul 11 08:20:38 EDT 2018
Revision: 11748
http://svnweb.midnightbsd.org/src/?rev=11748
Author: laffer1
Date: 2018-07-11 08:20:37 -0400 (Wed, 11 Jul 2018)
Log Message:
-----------
fix warning
Modified Paths:
--------------
trunk/usr.sbin/rdate/ntp.c
Modified: trunk/usr.sbin/rdate/ntp.c
===================================================================
--- trunk/usr.sbin/rdate/ntp.c 2018-07-11 11:45:37 UTC (rev 11747)
+++ trunk/usr.sbin/rdate/ntp.c 2018-07-11 12:20:37 UTC (rev 11748)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: ntp.c,v 1.31 2011/12/28 21:39:30 sthen Exp $ */
/*
@@ -131,7 +132,7 @@
void print_packet(const struct ntp_data *);
#endif
-int corrleaps;
+static int corrleaps;
void
ntp_client(const char *hostname, int family, struct timeval *new,
More information about the Midnightbsd-cvs
mailing list