Skip to content

Commit 388197f

Browse files
fingolfinDrvi
authored andcommitted
Avoid compiler warning about redefining jl_globalref_t (JuliaLang#53499)
(cherry picked from commit 71f68b4)
1 parent 1c86fc0 commit 388197f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/julia.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,11 +628,11 @@ typedef struct _jl_module_t {
628628
intptr_t hash;
629629
} jl_module_t;
630630

631-
typedef struct _jl_globalref_t {
631+
struct _jl_globalref_t {
632632
jl_module_t *mod;
633633
jl_sym_t *name;
634634
jl_binding_t *binding;
635-
} jl_globalref_t;
635+
};
636636

637637
// one Type-to-Value entry
638638
typedef struct _jl_typemap_entry_t {

0 commit comments

Comments
 (0)