From owner-freebsd-hackers Wed Jan 22 12: 3:51 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 EA28537B401 for ; Wed, 22 Jan 2003 12:03:49 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79EE843E4A for ; Wed, 22 Jan 2003 12:03:49 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.6/8.12.6) with ESMTP id h0MK3n0i009189; Wed, 22 Jan 2003 12:03:49 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.6/8.12.6/Submit) id h0MK3mq0009188; Wed, 22 Jan 2003 12:03:48 -0800 (PST) Date: Wed, 22 Jan 2003 12:03:48 -0800 (PST) From: Matthew Dillon Message-Id: <200301222003.h0MK3mq0009188@apollo.backplane.com> To: "Matthew N. Dodd" Cc: hackers@FreeBSD.ORG, Hiten Pandya Subject: Re: patch to remove random #define MIN/MAX implementations from around the kernel References: <20030122004138.E59276-100000@sasami.jurai.net> 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 | That's not saying much. stand.h is even more specialized then libkern.h. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message