From owner-freebsd-current@freebsd.org Wed Apr 20 06:31:12 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA1D6B15640 for ; Wed, 20 Apr 2016 06:31:12 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 8488714AA; Wed, 20 Apr 2016 06:31:12 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id C3A544F57A; Wed, 20 Apr 2016 06:31:10 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTP id u3K6V9Pp092940; Wed, 20 Apr 2016 06:31:09 GMT (envelope-from phk@phk.freebsd.dk) To: araujo@FreeBSD.org, Marcelo Araujo cc: freebsd-current Subject: Re: Use MAX()/MIN() macros in world. In-reply-to: From: "Poul-Henning Kamp" References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <92938.1461133869.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Wed, 20 Apr 2016 06:31:09 +0000 Message-ID: <92939.1461133869@critter.freebsd.dk> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 06:31:12 -0000 -------- In message , Marcelo Araujo writes: >I'm wondering if there is any objection to switch some codes to use MAX() >and MIN() macros from sys/param.h. IMO We shouldn't pollute with sys/param.h just for a couple of macros. -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .