summaryrefslogtreecommitdiff
path: root/include/math.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/math.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/math.h')
-rw-r--r--include/math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/math.h b/include/math.h
index 769659e0475..5e42486549c 100644
--- a/include/math.h
+++ b/include/math.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: math.h,v 1.28 2011/04/28 18:05:39 martynas Exp $ */
+/* $OpenBSD: math.h,v 1.29 2011/05/25 21:46:49 martynas Exp $ */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -21,6 +21,7 @@
#include <sys/cdefs.h>
#include <sys/limits.h>
+__BEGIN_DECLS
/*
* ANSI/POSIX
*/
@@ -145,7 +146,6 @@ extern int signgam;
#define HUGE MAXFLOAT
#endif /* __BSD_VISIBLE */
-__BEGIN_DECLS
/*
* ANSI/POSIX
*/