From 58b3dcb005b91e6399ba4207875aa28cb8ce4de0 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) (cherry picked from commit 71f68b4ce9189e64f320631f3f74ffb3dd10e875) --- src/julia.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/julia.h b/src/julia.h index 1f85f06dd35dc..0fbfcd8e4836b 100644 --- a/src/julia.h +++ b/src/julia.h @@ -628,11 +628,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 {