projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculist.h and list.h style cleanup
[userspace-rcu.git]
/
urcu
/
uatomic
/
generic.h
diff --git
a/urcu/uatomic/generic.h
b/urcu/uatomic/generic.h
index 9e2e78086c220b7286c508403069d5aa3b27e246..37f59cc11429229ce0dc19aa17a746b03f458cb7 100644
(file)
--- a/
urcu/uatomic/generic.h
+++ b/
urcu/uatomic/generic.h
@@
-38,19
+38,21
@@
extern "C" {
#if !defined __OPTIMIZE__ || defined UATOMIC_NO_LINK_ERROR
static inline __attribute__((always_inline))
#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
{
#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
__asm__ __volatile__(ILLEGAL_INSTR);
#else
- __builtin_trap
();
+ __builtin_trap();
#endif
}
#else /* #if !defined __OPTIMIZE__ || defined UATOMIC_NO_LINK_ERROR */
#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 */
#endif /* #else #if !defined __OPTIMIZE__ || defined UATOMIC_NO_LINK_ERROR */
/* cmpxchg */
This page took
0.023361 seconds
and
4
git commands to generate.