uatomic: style fix
[urcu.git] / urcu / uatomic / generic.h
index 54d2a8c34a4b744fa021e03ef4fd0a78eb343465..37f59cc11429229ce0dc19aa17a746b03f458cb7 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 
 #if !defined __OPTIMIZE__  || defined UATOMIC_NO_LINK_ERROR
 static inline __attribute__((always_inline))
-void _uatomic_link_error()
+void _uatomic_link_error(void)
 {
 #ifdef ILLEGAL_INSTR
        /*
@@ -47,12 +47,12 @@ void _uatomic_link_error()
         */
        __asm__ __volatile__(ILLEGAL_INSTR);
 #else
-       __builtin_trap ();
+       __builtin_trap();
 #endif
 }
 
 #else /* #if !defined __OPTIMIZE__  || defined UATOMIC_NO_LINK_ERROR */
-extern void _uatomic_link_error ();
+extern void _uatomic_link_error(void);
 #endif /* #else #if !defined __OPTIMIZE__  || defined UATOMIC_NO_LINK_ERROR */
 
 /* cmpxchg */
This page took 0.023604 seconds and 4 git commands to generate.