Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 1998 23:12:31 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        dufault@hda.com, eivind@yes.no
Cc:        cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/sys time.h
Message-ID:  <199804231312.XAA24750@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> Given no specification for timerclear pre-existing behavior
>> should be maintained.
>
>Pre-existing behaviour was added two weeks ago, and was wrong at that
>point (a non-parenthesized expression).  I did the change the day

timerclear() is standard in at least Net/2 BSD-4.4Lite[1-2].  It is
now only a compatibility interface in FreeBSD.  Perhaps it is never
used.

Only timevalclear() and timespecclear() were added two weeks ago.
You didn't change those.  They are kernel-only so they are safe
to change.  Perhaps they should never have been (unsafe) macros
anyway.

>> Given a specification that says it behaves as if it returns void
>> you're right.
>
>AFAIK, the only specification for timerclear() is the code.  The code
>says it returns void.  Happy?  ;-)

The code said that was an expression with side effects, value 0 and
type long.

Bruce

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?199804231312.XAA24750>