From 17dc921fe73be6f2746b158eea69f59b00633a6a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 29 Apr 2022 13:14:44 +0200 Subject: [PATCH] Remove duplicate definition of jl_gc_safepoint This prevents a compiler warning on some systems --- src/julia_threads.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/julia_threads.h b/src/julia_threads.h index 6f1c4e50d4e95..6cca406eaafef 100644 --- a/src/julia_threads.h +++ b/src/julia_threads.h @@ -362,7 +362,6 @@ int8_t jl_gc_safe_leave(jl_ptls_t ptls, int8_t state); // Can be a safepoint #define jl_gc_safe_enter(ptls) jl_gc_state_save_and_set(ptls, JL_GC_STATE_SAFE) #define jl_gc_safe_leave(ptls, state) ((void)jl_gc_state_set(ptls, (state), JL_GC_STATE_SAFE)) #endif -JL_DLLEXPORT void (jl_gc_safepoint)(void); JL_DLLEXPORT void jl_gc_enable_finalizers(struct _jl_task_t *ct, int on); JL_DLLEXPORT void jl_gc_disable_finalizers_internal(void);