From b3c5992446497cd6eb2d9e481dac840ea9b1f538 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 27 Feb 2024 18:47:52 +0100 Subject: [PATCH] Avoid warning about redefining jl_globalref_t --- src/julia.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/julia.h b/src/julia.h index 0505b1e88d4bbd..aae5f7ffc726c7 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 {