From 3511f44e2e63783717d4431c4d3cf53c274563d9 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 12 Aug 1998 14:25:08 +0000 Subject: [PATCH] Fix typos... --- usr.sbin/xntp/xntpd/Makefile | 3 +-- usr.sbin/xntp/xntpd/refclock_wwvb.c | 3 +-- usr.sbin/xntp/xntpdc/ntpdc_ops.c | 7 +++---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/usr.sbin/xntp/xntpd/Makefile b/usr.sbin/xntp/xntpd/Makefile index 68f0d5ecbea8..c60acdc34e37 100644 --- a/usr.sbin/xntp/xntpd/Makefile +++ b/usr.sbin/xntp/xntpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1998/04/01 15:01:19 christos Exp $ +# $NetBSD: Makefile,v 1.5 1998/08/12 14:25:08 christos Exp $ PROG= xntpd SRCS= clk_trimtsip.c clk_trimtaip.c clk_schmid.c clk_rcc8000.c clk_rawdcf.c clk_meinberg.c \ @@ -11,6 +11,5 @@ ntpd.c ntp_util.c ntp_unixclock.c ntp_timer.c ntp_restrict.c ntp_request.c \ ntp_refclock.c ntp_proto.c ntp_peer.c ntp_monitor.c ntp_loopfilter.c ntp_leap.c \ ntp_io.c ntp_intres.c ntp_filegen.c ntp_control.c ntp_config.c map_vme.c MAN+= xntpd.8 -CPPFLAGS=-Drestrict=1 .include diff --git a/usr.sbin/xntp/xntpd/refclock_wwvb.c b/usr.sbin/xntp/xntpd/refclock_wwvb.c index c2c8ad90009c..9c7a0f07f60e 100644 --- a/usr.sbin/xntp/xntpd/refclock_wwvb.c +++ b/usr.sbin/xntp/xntpd/refclock_wwvb.c @@ -1,4 +1,4 @@ -/* $NetBSD: refclock_wwvb.c,v 1.4 1998/08/12 14:11:56 christos Exp $ */ +/* $NetBSD: refclock_wwvb.c,v 1.5 1998/08/12 14:25:08 christos Exp $ */ /* * refclock_wwvb - clock driver for Spectracom WWVB receivers @@ -253,7 +253,6 @@ wwvb_receive(rbufp) char syncchar; /* synchronization indicator */ char qualchar; /* quality indicator */ char leapchar; /* leap indicator */ - int tz = 0; #ifdef DEBUG if (debug) diff --git a/usr.sbin/xntp/xntpdc/ntpdc_ops.c b/usr.sbin/xntp/xntpdc/ntpdc_ops.c index 70b794ce9113..492111abce6b 100644 --- a/usr.sbin/xntp/xntpdc/ntpdc_ops.c +++ b/usr.sbin/xntp/xntpdc/ntpdc_ops.c @@ -1,4 +1,4 @@ -/* $NetBSD: ntpdc_ops.c,v 1.5 1998/08/12 14:11:56 christos Exp $ */ +/* $NetBSD: ntpdc_ops.c,v 1.6 1998/08/12 14:25:09 christos Exp $ */ /* * ntpdc_ops.c - subroutines which are called to perform operations by xntpdc @@ -31,7 +31,6 @@ static void dmpeers P((struct parse *, FILE *)); static void dopeers P((struct parse *, FILE *, int)); static char *refid_string P((u_int32, int)); static void printpeer P((struct info_peer *, FILE *)); -static char* refid_string P((u_int32, int)); static void showpeer P((struct parse *, FILE *)); static void peerstats P((struct parse *, FILE *)); static void loopinfo P((struct parse *, FILE *)); @@ -143,7 +142,7 @@ struct xcmd opcmds[] = { "ntpport|ignore|noserve|notrust|noquery|nomodify|nopeer", "..." }, "create restrict entry/add flags to entry" }, - { "unrestrict", unrestrict_addr,{ ADD, ADD, NTP_STR, OPT|NTP_STR }, + { "unrestrict", unrestrict, { ADD, ADD, NTP_STR, OPT|NTP_STR }, { "address", "mask", "ntpport|ignore|noserve|notrust|noquery|nomodify|nopeer", "..." }, @@ -1386,7 +1385,7 @@ new_restrict(pcmd, fp) * unrestrict - remove restriction flags from existing entry */ static void -unrestrict_addr(pcmd, fp) +unrestrict(pcmd, fp) struct parse *pcmd; FILE *fp; {