projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92b47a3
)
libstdc++: Fix linker errors due to missing 'inline' keywords
author
Stephan Bergmann
<sbergman@redhat.com>
Mon, 23 Nov 2020 18:14:44 +0000
(18:14 +0000)
committer
Jonathan Wakely
<jwakely@redhat.com>
Mon, 23 Nov 2020 18:15:06 +0000
(18:15 +0000)
libstdc++-v3/ChangeLog:
* include/bits/atomic_wait.h (__thread_relax, __thread_yield):
Add 'inline'.
libstdc++-v3/include/bits/atomic_wait.h
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/bits/atomic_wait.h
b/libstdc++-v3/include/bits/atomic_wait.h
index
a40cff1
..
cd756f6
100644
(file)
--- a/
libstdc++-v3/include/bits/atomic_wait.h
+++ b/
libstdc++-v3/include/bits/atomic_wait.h
@@
-224,7
+224,7
@@
_GLIBCXX_BEGIN_NAMESPACE_VERSION
{ _M_w._M_do_wait(_M_version); }
};
- void
+
inline
void
__thread_relax() noexcept
{
#if defined __i386__ || defined __x86_64__
@@
-234,9
+234,9
@@
_GLIBCXX_BEGIN_NAMESPACE_VERSION
#endif
}
- void
+
inline
void
__thread_yield() noexcept
- {
+
{
#if defined _GLIBCXX_USE_SCHED_YIELD
__gthread_yield();
#endif