From owner-freebsd-stable Wed Dec 5 15:46:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id C292A37B405 for ; Wed, 5 Dec 2001 15:46:32 -0800 (PST) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id PAA40416; Wed, 5 Dec 2001 15:29:14 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id fB5NTDC88049; Wed, 5 Dec 2001 15:29:13 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200112052329.fB5NTDC88049@arch20m.dellroad.org> Subject: Re: timer_t ? In-Reply-To: <20011206063238.A90238@gsmx07.alcatel.com.au> "from Peter Jeremy at Dec 6, 2001 06:32:38 am" To: Peter Jeremy Date: Wed, 5 Dec 2001 15:29:13 -0800 (PST) Cc: Archie Cobbs , freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Jeremy writes: > >Hi.. random question.. contains: > > > > typedef _BSD_TIMER_T_ timer_t; > > > >What is this used for? I can't find any uses of "timer_t". > > In a recent -STABLE: > > /usr/src/contrib/ntp/ntpd/ntp_timer.c:87: static timer_t ntpd_timerid; /* should be global if we ever want */ > /usr/src/contrib/ntp/ntpdate/ntpdate.c:80:static timer_t ntpdate_timerid; > /usr/src/contrib/ntp/ntpdate/ntptimeset.c:184:static timer_t ntpdate_timerid; Hmm.. seems like ntpd should define this on it's own. Probably there since antiquity. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message