Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2002 11:30:48 -0800
From:      "Sam Leffler" <sam@errno.com>
To:        "Nate Lawson" <nate@root.org>
Cc:        <cvs-all@FreeBSD.org>, <cvs-committers@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c
Message-ID:  <129901c2a927$7767df70$52557f42@errno.com>
References:  <Pine.BSF.4.21.0212211122150.66919-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The version in sys/time.h is #ifndef _KERNEL and marked as specifically for
compatibility for netbsd.  Rather than change the include file and pollute a
namespace I added a private definition.  If it's ok to do add this pollution
then sure, just remove the private definition.

    Sam

----- Original Message -----
From: "Nate Lawson" <nate@root.org>
To: "Sam Leffler" <sam@FreeBSD.org>
Cc: <cvs-all@FreeBSD.org>; <cvs-committers@FreeBSD.org>
Sent: Saturday, December 21, 2002 11:22 AM
Subject: Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c


> On Fri, 20 Dec 2002, Sam Leffler wrote:
> >   Modified files:
> >     sys/sys              time.h
> >     sys/kern             kern_time.c
> >   Log:
> >   add generic rate limiting support from netbsd; ratelimit is purely
time based,
> >   ppsratecheck is for controlling packets/second
> >
> >   Obtained from:  netbsd
> >
> >   Revision  Changes    Path
> >   1.90      +88 -0     src/sys/kern/kern_time.c
> >   1.59      +2 -0      src/sys/sys/time.h
>
> There's already a timersub in sys/time.h that is identical to this one.
>
> -Nate
>
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?129901c2a927$7767df70$52557f42>