From owner-freebsd-hackers Tue Jan 21 21:44:45 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D70337B401 for ; Tue, 21 Jan 2003 21:44:44 -0800 (PST) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5EE243F5F for ; Tue, 21 Jan 2003 21:44:43 -0800 (PST) (envelope-from winter@jurai.net) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.6/8.12.5) with ESMTP id h0M5ifvA098807; Wed, 22 Jan 2003 00:44:42 -0500 (EST) (envelope-from winter@jurai.net) Date: Wed, 22 Jan 2003 00:44:41 -0500 (EST) From: "Matthew N. Dodd" To: Matthew Dillon Cc: hackers@FreeBSD.ORG, Hiten Pandya Subject: Re: patch to remove random #define MIN/MAX implementations from around the kernel In-Reply-To: <200301220519.h0M5JmhD000824@apollo.backplane.com> Message-ID: <20030122004138.E59276-100000@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 21 Jan 2003, Matthew Dillon wrote: > This might be useful follow-up work. i.e. the idea of getting rid of > the use of the MIN and MAX macros in the kernel altogether. Though I'm > not sure I like the fact that 'min' and 'max' in sys/libkern.h refer to > unsigned ints (it really should be umin and umax or uimin and uimax). libkern.h defines them the same way as stand.h does. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message