[PATCH] Add guard macro to fpmath.h

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sat, 2 Dec 2017 11:32:34 -0800
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.


Index: libc/include/fpmath.h
===================================================================
--- libc/include/fpmath.h	(revision 2044)
+++ libc/include/fpmath.h	(working copy)
_at__at_ -27,6 +27,9 _at__at_
  * $FreeBSD: head/lib/libc/include/fpmath.h 186461 2008-12-23 22:20:59Z marcel $
  */
 
+#ifndef _FPMATH_H_
+#define _FPMATH_H_
+
 #include <sys/endian.h>
 #include "_fpmath.h"
 
_at__at_ -73,3 +76,5 _at__at_ union IEEEd2bits {
 #endif
 	} bits;
 };
+
+#endif /* !_FPMATH_H */

-- 
Steve
Received on Sat Dec 02 2017 - 18:32:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC