projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
impatomic: move atomic_{thread,signal}_fence() to namespace std
[c11tester.git]
/
include
/
impatomic.h
diff --git
a/include/impatomic.h
b/include/impatomic.h
index b64df7af920dd863fa1c8a21d1e64379c6a164fe..cf62f3960231d37c955aa0f22913005a2d4348a7 100644
(file)
--- a/
include/impatomic.h
+++ b/
include/impatomic.h
@@
-3841,11
+3841,6
@@
T* atomic<T*>::fetch_sub( ptrdiff_t __v__, memory_order __x__ ) volatile
#endif
-
-#ifdef __cplusplus
-} // namespace std
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
@@
-3859,4
+3854,9
@@
inline void atomic_signal_fence(memory_order order)
}
#endif
+
+#ifdef __cplusplus
+} // namespace std
+#endif
+
#endif /* __IMPATOMIC_H__ */