Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: vmstat/dkstats.c: remove obfuscatory timerset() macro
To:
Scott Cheloha <scottcheloha@gmail.com>
Cc:
tech@openbsd.org
Date:
Thu, 18 Apr 2024 14:25:37 -0600

Download raw body.

Thread
On Thu, 18 Apr 2024 13:22:25 -0500, Scott Cheloha wrote:

> Using a macro to perform a plain struct assignment obfuscates the
> obvious.  Delete timerset().  While here, remove the superfluous
> timerclear(3) calls.

Struct assignment is definitely the clearer approach.
OK millert@

 - todd