diff options
author | Michele Calgaro <[email protected]> | 2024-11-18 22:24:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-11-18 22:24:33 +0900 |
commit | 3b0c3b8206964b85bf3716c962d26dd15c4f285f (patch) | |
tree | 2f0973dbf96c2892d19a55b6f846f130e7399a48 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/asm.h.mm | |
parent | ff287d2f48d4f4253bf84f19bd7fe937b61ede45 (diff) | |
download | extra-dependencies-master.tar.gz extra-dependencies-master.zip |
It is no longer necessary to maintain a customize trinity version.
Upstream version can be used as is.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/asm.h.mm')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/asm.h.mm | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/asm.h.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/asm.h.mm deleted file mode 100644 index 97c0edd3..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/asm.h.mm +++ /dev/null @@ -1,21 +0,0 @@ -static inline void atomic_retain(volatile int *p)
-{
-#if defined(_MSC_VER)
- _InterlockedIncrement ((LONG volatile *) p);
-#else
- __asm__ (
- "lock incl %0\n\t"
- : "+m" (*p)
- :
- : "cc", "memory"
- );
-#endif
-}
-
-static inline void atomic_thread_fence (memory_order_release_t)
-{
- __asm__ __volatile__
- (
- ASM_LWSYNC : : : "memory"
- );
-}
|