diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-05-25 21:46:50 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-05-25 21:46:50 +0000 |
commit | 14562675c3e13e4489562dce5d7efc287e550545 (patch) | |
tree | 3c6e6621b61ff319cfd84905861785fc983ccb73 /sys/arch/hppa/include | |
parent | 20cd81ec557e8a22f73edab97e56e3e67b90b2a1 (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/hppa/include')
-rw-r--r-- | sys/arch/hppa/include/fenv.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/fenv.h b/sys/arch/hppa/include/fenv.h index 1cd923e827c..714905f29e2 100644 --- a/sys/arch/hppa/include/fenv.h +++ b/sys/arch/hppa/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 $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -72,7 +72,9 @@ typedef unsigned int fenv_t; * 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) /* |