From owner-freebsd-hackers@freebsd.org Sat Dec 2 19:42:58 2017 Return-Path: Delivered-To: freebsd-hackers@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 3C673E68010 for ; Sat, 2 Dec 2017 19:42:58 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x244.google.com (mail-yb0-x244.google.com [IPv6:2607:f8b0:4002:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F240E7B2C1 for ; Sat, 2 Dec 2017 19:42:57 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x244.google.com with SMTP id 5so5258362ybp.4 for ; Sat, 02 Dec 2017 11:42:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=etparZ//+3UDMzUABYJbecTExPw29q4NnzZzl8RFF5k=; b=sKxpAkXJKCHdHsBR2saGpFC2dKDjijUrEoXyzVA7MEOfYn3V9tMVs1N5C+E0PM16ey FC32efpHVwtTr4EueiIwsOwSD78HAJfLN0ldOuTC6UtjiSSSkIL1n/0gDZepeISQbTTZ JnJttZoe7O8CzpyXAprKF25yE4An1CLerUMhE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=etparZ//+3UDMzUABYJbecTExPw29q4NnzZzl8RFF5k=; b=Lb73kBoxfCQWi+dBmZhZcygrQCH2JWKY5gKNq+lf0Qrcj78ksqWovbwqhwh+7fHXzY JJ7A/dr+4IZSga13Hiuz5hiJc7sm2lDd4dAjwCNiCx8ScQUdvJkpmD5wN3F4kFmi2K1w HG3V6dFXJZIGw1cziEBJ94qWbGVHauR2dIDbgSFkuHNTzGJalpYFAViQIQL6wS2SEdya G56BeyIcMBikfV2irWTJDSc2WvCTVjEccfDcbdwMdoAWfTEY2YJk8h4XiXnPwvwW9XwL y44NUh+uCGpv1ynkfAawRX5xwdl6RpneatfIHs4/BdCDaW4qjspGox7IfQYrg1jyxIdN vUfg== X-Gm-Message-State: AJaThX6ljClOGHN7859AzKwA3SkA218sfVI7524uX+kh//79jE8GuTBX gicjam1qwnXVXZ6FjtOR/91Oit52/HCkFvZXyHsPtw== X-Google-Smtp-Source: AGs4zMbFpqZ1+pewA0YzYPvZvvh7aTKQh+MPOmhrzEJkBijwUthFPGXaVWzhoSqXqaPu5tMTjp6amwocjhyZVAAxfRw= X-Received: by 10.37.123.134 with SMTP id w128mr6410062ybc.486.1512243777084; Sat, 02 Dec 2017 11:42:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.15.66 with HTTP; Sat, 2 Dec 2017 11:42:26 -0800 (PST) In-Reply-To: <20171202193234.GA45300@troutmask.apl.washington.edu> References: <20171202193234.GA45300@troutmask.apl.washington.edu> From: Eitan Adler Date: Sat, 2 Dec 2017 11:42:26 -0800 Message-ID: Subject: Re: [PATCH] Add guard macro to fpmath.h To: Steve Kargl Cc: FreeBSD Hackers , freebsd-current Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2017 19:42:58 -0000 On 2 December 2017 at 11:32, Steve Kargl wrote: > The following patch adds a guard macro to fpmath.h. > It is used to prevent multiple inclusions of its > content. Please apply to top-of-tree. [69006 11:41:35.802 eax@FlyingEagle ~/svn/fbsd/head/lib]=E2=88=B4svn diff (svn:head)-[head:326419]-[326419] Index: libc/include/fpmath.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- libc/include/fpmath.h (revision 326419) +++ libc/include/fpmath.h (working copy) @@ -29,6 +29,9 @@ * $FreeBSD$ */ +#ifndef _FPMATH_H_ +#define _FPMATH_H_ + #include #include "_fpmath.h" @@ -75,3 +78,5 @@ union IEEEd2bits { #endif } bits; }; + +#endif /* !_FPMATH_H */ [69007 11:41:37.789 eax@FlyingEagle ~/svn/fbsd/head/lib]=E2=88=B4svn ci libc/include/fpmath.h (svn:head)-[head:326419]-[326419] Sending libc/include/fpmath.h Transmitting file data .done Committing transaction... Committed revision 326479. --=20 Eitan Adler