Cleanup: header comments coding style
[urcu.git] / urcu / uatomic / generic.h
index bfd9b68f3b14bac2617ede3e51f8285090b05d77..54d2a8c34a4b744fa021e03ef4fd0a78eb343465 100644 (file)
@@ -29,7 +29,7 @@ extern "C" {
 #endif
 
 #ifndef uatomic_set
-#define uatomic_set(addr, v)   CMM_STORE_SHARED(*(addr), (v))
+#define uatomic_set(addr, v)   ((void) CMM_STORE_SHARED(*(addr), (v)))
 #endif
 
 #ifndef uatomic_read
@@ -41,8 +41,10 @@ static inline __attribute__((always_inline))
 void _uatomic_link_error()
 {
 #ifdef ILLEGAL_INSTR
-       /* generate an illegal instruction. Cannot catch this with linker tricks
-        * when optimizations are disabled. */
+       /*
+        * generate an illegal instruction. Cannot catch this with
+        * linker tricks when optimizations are disabled.
+        */
        __asm__ __volatile__(ILLEGAL_INSTR);
 #else
        __builtin_trap ();
This page took 0.023314 seconds and 4 git commands to generate.