summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2011-05-25 21:46:50 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2011-05-25 21:46:50 +0000
commit14562675c3e13e4489562dce5d7efc287e550545 (patch)
tree3c6e6621b61ff319cfd84905861785fc983ccb73 /sys/arch/i386
parent20cd81ec557e8a22f73edab97e56e3e67b90b2a1 (diff)
Also enclose variable names with external linkage in __BEGIN_DECLS.
Doesn't matter much since C++ ABI used by GCC doesn't mangle variable names; however technically is required by Section 7.5 of the C++ spec. Discussed with/OK guenther@, matthew@.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/include/fenv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/include/fenv.h b/sys/arch/i386/include/fenv.h
index 80d34a65325..2a553a4950b 100644
--- a/sys/arch/i386/include/fenv.h
+++ b/sys/arch/i386/include/fenv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fenv.h,v 1.2 2011/04/28 17:34:23 martynas Exp $ */
+/* $OpenBSD: fenv.h,v 1.3 2011/05/25 21:46:49 martynas Exp $ */
/* $NetBSD: fenv.h,v 1.1.6.2 2010/10/24 22:48:02 jym Exp $ */
/*-
@@ -93,7 +93,9 @@ typedef struct {
* that manage the floating-point environment, namely fesetenv() and
* feupdateenv().
*/
+__BEGIN_DECLS
extern fenv_t __fe_dfl_env;
+__END_DECLS
#define FE_DFL_ENV ((const fenv_t *)&__fe_dfl_env)
/*