[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Damien Bergamini <damien_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Mon, 16 Jun 2008 12:43:07 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: damien_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/06/16 12:43:06
Modified files:
sys/dev/pci : if_iwn.c if_wpi.c
Log message:
replace min() and max() function calls by MIN() and MAX().
MIN() and MAX() are macros that can evaluate their arguments twice
but it is safe in this context.
following a post from miod@ about the harmfulness of min() and max()
in the kernel.
Visit your host, monkey.org