From ea43ea998c4d3ad0edcd8ccb07043793d9963c88 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 28 Feb 2024 06:46:20 +0100 Subject: [PATCH] Avoid compiler warning about redefining jl_globalref_t (#53499) --- src/julia.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/julia.h b/src/julia.h index a7e0c1b2db17b6..5c3a9833674703 100644 --- a/src/julia.h +++ b/src/julia.h @@ -645,11 +645,11 @@ typedef struct _jl_module_t { intptr_t hash; } jl_module_t; -typedef struct _jl_globalref_t { +struct _jl_globalref_t { jl_module_t *mod; jl_sym_t *name; jl_binding_t *binding; -} jl_globalref_t; +}; // one Type-to-Value entry typedef struct _jl_typemap_entry_t {