projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: add 'noreturn' attribute to '_uatomic_link_error'
[userspace-rcu.git]
/
include
/
urcu
/
uatomic
/
generic.h
diff --git
a/include/urcu/uatomic/generic.h
b/include/urcu/uatomic/generic.h
index 5bb0d4f983c3b96c920827b991b6798fadc5cbbd..89d1cfa98c1ab198cc8f628a0e28fdaadfbd5f90 100644
(file)
--- a/
include/urcu/uatomic/generic.h
+++ b/
include/urcu/uatomic/generic.h
@@
-38,7
+38,7
@@
extern "C" {
#endif
#if !defined __OPTIMIZE__ || defined UATOMIC_NO_LINK_ERROR
#endif
#if !defined __OPTIMIZE__ || defined UATOMIC_NO_LINK_ERROR
-static inline __attribute__((always_inline))
+static inline __attribute__((always_inline
, noreturn
))
void _uatomic_link_error(void)
{
#ifdef ILLEGAL_INSTR
void _uatomic_link_error(void)
{
#ifdef ILLEGAL_INSTR
This page took
0.022638 seconds
and
4
git commands to generate.