summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/private/gc_priv.h2
-rw-r--r--mark.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h
index 4cf7871f..ecd849d7 100644
--- a/include/private/gc_priv.h
+++ b/include/private/gc_priv.h
@@ -2601,8 +2601,6 @@ void GC_print_static_roots(void);
/* Make arguments appear live to compiler */
void GC_noop6(word, word, word, word, word, word);
-GC_API void GC_CALL GC_noop1(word);
-
#ifndef GC_ATTR_FORMAT_PRINTF
# if GC_GNUC_PREREQ(3, 0)
# define GC_ATTR_FORMAT_PRINTF(spec_argnum, first_checked) \
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);