projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a373d52
)
Eliminate 'value of GC_INLINE unknown' cppcheck info message
author
Ivan Maidanski
<ivmai@mail.ru>
Tue, 14 Feb 2017 10:44:34 +0000
(13:44 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Tue, 14 Feb 2017 10:44:56 +0000
(13:44 +0300)
(fix commit 46a2411)
* include/private/gc_atomic_ops.h (AO_INLINE): Check GC_PRIVATE_H is
defined instead of "ifdef GC_INLINE".
include/private/gc_atomic_ops.h
patch
|
blob
|
history
diff --git
a/include/private/gc_atomic_ops.h
b/include/private/gc_atomic_ops.h
index
e21ed52
..
2cf45f9
100644
(file)
--- a/
include/private/gc_atomic_ops.h
+++ b/
include/private/gc_atomic_ops.h
@@
-25,7
+25,7
@@
# include "gc.h" /* for GC_word */
typedef GC_word AO_t;
-# ifdef GC_
INLINE
+# ifdef GC_
PRIVATE_H /* have GC_INLINE */
# define AO_INLINE GC_INLINE
# else
# define AO_INLINE static __inline