Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2017 11:42:26 -0800
From:      Eitan Adler <lists@eitanadler.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>,  freebsd-current Current <freebsd-current@freebsd.org>
Subject:   Re: [PATCH] Add guard macro to fpmath.h
Message-ID:  <CAF6rxgkaMYcnNB5RP_4seBJnW1tJE==JL5cUuHsy6Eu_-9=RoA@mail.gmail.com>
In-Reply-To: <20171202193234.GA45300@troutmask.apl.washington.edu>
References:  <20171202193234.GA45300@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 December 2017 at 11:32, Steve Kargl
<sgk@troutmask.apl.washington.edu> 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 <sys/endian.h>
 #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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkaMYcnNB5RP_4seBJnW1tJE==JL5cUuHsy6Eu_-9=RoA>