From owner-freebsd-current@freebsd.org Sat Dec 2 19:42:58 2017 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 4AAF0E68011 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 084827B2C2 for ; Sat, 2 Dec 2017 19:42:58 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x244.google.com with SMTP id j7so614916ybl.3 for ; Sat, 02 Dec 2017 11:42:58 -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=hdX2wBGNmnEwkCeBuSHen1LuvGdvTtI5aLFh+n4qjds3jr0zONeWRBy7NrZHAF9Xjn wCupa+qXMfqMnVn32MW50RBuyh7scNgT5K29YGE0uTIl2JXX93dSOfmx+lZ+sfNmuoDr X9TEcYzivLitTIz/3hSilI9FIXC3qtkRzQtuMNneAR0XVicH/oa/cpcz0HlbKIXeow5M XyTwvYOE8xyyvEtFmRK2GLT9RDjw8P4nmLy6214G4QoRVwQA38KOSTcigGDuoJqwADXD zDWwX/A2QtiGbqtwD1tiOM0VZEPC1hS1HLdLjPYBr5KLUYbl+zoLPehkjDU28MT5qLOu Zkrg== X-Gm-Message-State: AJaThX6b73iGJ+TDpfvOedUuofnEieZ5hp9ERvVSOVF2g5rPQ1DgFb4z t7sYaXkAEK9QJAGXfhQuC9e8GubDMS9nqMJjXqdcN/oM 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-current@freebsd.org X-Mailman-Version: 2.1.25 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: 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