summaryrefslogtreecommitdiff
path: root/mark.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-08-22 09:33:37 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-08-22 09:33:37 +0300
commit941ad6440867da3969b0df5a6e06082421f0e4ff (patch)
tree8036c5c1de48c1402b79c7cf4dc944bb19c2b341 /mark.c
parent308aafa4009ff23737a02b1452b37bbde49c4a99 (diff)
downloadbdwgc-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mark.c b/mark.c
index 93b9a46d..7d573f61 100644
--- a/mark.c
+++ b/mark.c
@@ -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);