Skip to content

Commit

Permalink
Avoid compiler warning about redefining jl_globalref_t (#53499)
Browse files Browse the repository at this point in the history
(cherry picked from commit 71f68b4)
  • Loading branch information
fingolfin authored and KristofferC committed Mar 1, 2024
1 parent 6abaed1 commit 79421de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -636,11 +636,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 {
Expand Down

0 comments on commit 79421de

Please sign in to comment.