diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-08-22 09:33:37 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-08-22 09:33:37 +0300 |
commit | 941ad6440867da3969b0df5a6e06082421f0e4ff (patch) | |
tree | 8036c5c1de48c1402b79c7cf4dc944bb19c2b341 /mark.c | |
parent | 308aafa4009ff23737a02b1452b37bbde49c4a99 (diff) | |
download | bdwgc-941ad6440867da3969b0df5a6e06082421f0e4ff.tar.gz |
Eliminate 'redundant redeclaration of GC_noop1' gcc warning
(fix of commit 2a52263b8)
* include/private/gc_priv.h (GC_noop1): Remove declaration.
* mark.c (GC_noop1): Change argument type from word to GC_word.
Diffstat (limited to 'mark.c')
-rw-r--r-- | mark.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ void GC_noop6(word arg1 GC_ATTR_UNUSED, word arg2 GC_ATTR_UNUSED, /* Make the argument appear live to compiler. This is similar */ /* to GC_noop6(), but with a single argument. Robust against */ /* whole program analysis. */ -GC_API void GC_CALL GC_noop1(word x) +GC_API void GC_CALL GC_noop1(GC_word x) { # if defined(AO_HAVE_store) && defined(THREAD_SANITIZER) AO_store(&GC_noop_sink, (AO_t)x); |