]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't (conditionally) override the kernel's min() and max() functions
authorbde <bde@FreeBSD.org>
Fri, 13 Feb 1998 07:09:38 +0000 (07:09 +0000)
committerbde <bde@FreeBSD.org>
Fri, 13 Feb 1998 07:09:38 +0000 (07:09 +0000)
commitb8c473161fd4b5f7bf6e9ce7318f9d2ee81f50b1
tree961bdd040238c25a00cc253f203aa69ac9102d96
parentef1ebbaf544bfd66e1302dba72162b92fa40f018
Don't (conditionally) override the kernel's min() and max() functions
with macros.  This breaks if the functions are replaced by macros with
unsuitable semantics.   Define a MAX() macro unconditionally instead.
max() is unsuitable since we need a constant expression.  Don't define
MIN() - we never used min().
sys/i386/isa/kbdio.c
sys/isa/kbdio.c