summaryrefslogtreecommitdiff
path: root/include/fenv.h
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 /include/fenv.h
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 'include/fenv.h')
-rw-r--r--include/fenv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fenv.h b/include/fenv.h
index 9d7197173b3..1368ab30e26 100644
--- a/include/fenv.h
+++ b/include/fenv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fenv.h,v 1.1 2011/04/21 21:12:56 martynas Exp $ */
+/* $OpenBSD: fenv.h,v 1.2 2011/05/25 21:46:49 martynas Exp $ */
/* $NetBSD: fenv.h,v 1.2.4.1 2011/02/08 16:18:55 bouyer Exp $ */
/*
@@ -43,6 +43,7 @@ int fetestexcept(int);
int fegetround(void);
int fesetround(int);
+
int fegetenv(fenv_t *);
int feholdexcept(fenv_t *);
int fesetenv(const fenv_t *);