summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-05 14:36:04 +0000
committerwollman <wollman@FreeBSD.org>1994-08-05 14:36:04 +0000
commit2159e4287dcdfbc49dff55d254fe5924fd0abaac (patch)
tree22f67ad14a0c11c14582b93bd4c86188901ab637
parentd2ff996240e57a6d1e6eaa5510c6a27f562b49e1 (diff)
downloadFreeBSD-src-2159e4287dcdfbc49dff55d254fe5924fd0abaac.zip
FreeBSD-src-2159e4287dcdfbc49dff55d254fe5924fd0abaac.tar.gz
Delete redundant #ifdef __i386__, be consistent about idempotency
protection. Submitted by: Bruce Evans
-rw-r--r--sys/amd64/include/ieeefp.h12
-rw-r--r--sys/i386/include/ieeefp.h12
2 files changed, 8 insertions, 16 deletions
diff --git a/sys/amd64/include/ieeefp.h b/sys/amd64/include/ieeefp.h
index c7929fe..d36ede3 100644
--- a/sys/amd64/include/ieeefp.h
+++ b/sys/amd64/include/ieeefp.h
@@ -31,17 +31,15 @@
* SUCH DAMAGE.
*
* from: @(#) ieeefp.h 1.0 (Berkeley) 9/23/93
- * $Id: ieeefp.h,v 1.2 1993/10/16 17:16:52 rgrimes Exp $
+ * $Id: ieeefp.h,v 1.1 1994/08/04 19:16:37 wollman Exp $
*/
/*
* IEEE floating point type and constant definitions.
*/
-#ifndef _IEEEFP_H_
-#define _IEEEFP_H_
-
-#ifdef __i386__
+#ifndef _MACHINE_IEEEFP_H_
+#define _MACHINE_IEEEFP_H_
/*
* FP rounding modes
@@ -99,6 +97,4 @@ typedef enum {
#define FP_RND_OFF 10 /* round control offset */
#define FP_STKY_OFF 0 /* sticky flags offset */
-#endif /* __i386__ */
-
-#endif /* !_IEEEFP_H_ */
+#endif /* !_MACHINE_IEEEFP_H_ */
diff --git a/sys/i386/include/ieeefp.h b/sys/i386/include/ieeefp.h
index c7929fe..d36ede3 100644
--- a/sys/i386/include/ieeefp.h
+++ b/sys/i386/include/ieeefp.h
@@ -31,17 +31,15 @@
* SUCH DAMAGE.
*
* from: @(#) ieeefp.h 1.0 (Berkeley) 9/23/93
- * $Id: ieeefp.h,v 1.2 1993/10/16 17:16:52 rgrimes Exp $
+ * $Id: ieeefp.h,v 1.1 1994/08/04 19:16:37 wollman Exp $
*/
/*
* IEEE floating point type and constant definitions.
*/
-#ifndef _IEEEFP_H_
-#define _IEEEFP_H_
-
-#ifdef __i386__
+#ifndef _MACHINE_IEEEFP_H_
+#define _MACHINE_IEEEFP_H_
/*
* FP rounding modes
@@ -99,6 +97,4 @@ typedef enum {
#define FP_RND_OFF 10 /* round control offset */
#define FP_STKY_OFF 0 /* sticky flags offset */
-#endif /* __i386__ */
-
-#endif /* !_IEEEFP_H_ */
+#endif /* !_MACHINE_IEEEFP_H_ */
OpenPOWER on IntegriCloud