From 941ad6440867da3969b0df5a6e06082421f0e4ff Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Mon, 22 Aug 2022 09:33:37 +0300 Subject: 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. --- mark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mark.c') 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); -- cgit v1.2.1