aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/c++config
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-05-10 12:35:45 +0000
committerJonathan Wakely <jwakely@redhat.com>2018-05-10 12:35:45 +0000
commit1a1b95571987d9320b75e884aaf031ed986f6d8c (patch)
treeac5c5d0974d9f47e18b6a2ffc43a0f47d511dfbd /libstdc++-v3/include/bits/c++config
parent1adb24663e2ec240ea5ee9cd5e6b41ce985d363a (diff)
PR libstdc++/85729 add linkage specifications to headers
PR libstdc++/85729 * include/bits/c++config.h (__replacement_assert): Add linkage specification. * include/bits/std_abs.h: Add comment to closing brace of block. * include/c_global/cstddef: Add linkage specification. * include/c_global/cstring: Likewise. * include/c_global/cwchar: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@260114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/c++config')
-rw-r--r--libstdc++-v3/include/bits/c++config2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/c++config b/libstdc++-v3/include/bits/c++config
index bfe268da825..280f65e1ba0 100644
--- a/libstdc++-v3/include/bits/c++config
+++ b/libstdc++-v3/include/bits/c++config
@@ -438,7 +438,7 @@ namespace std
{
// Avoid the use of assert, because we're trying to keep the <cassert>
// include out of the mix.
- inline void
+ extern "C++" inline void
__replacement_assert(const char* __file, int __line,
const char* __function, const char* __condition)
{