Skip to content

Commit 71f68b4

Browse files
authored
Avoid compiler warning about redefining jl_globalref_t (#53499)
1 parent c379db7 commit 71f68b4

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
@@ -645,11 +645,11 @@ typedef struct _jl_module_t {
645645
intptr_t hash;
646646
} jl_module_t;
647647

648-
typedef struct _jl_globalref_t {
648+
struct _jl_globalref_t {
649649
jl_module_t *mod;
650650
jl_sym_t *name;
651651
jl_binding_t *binding;
652-
} jl_globalref_t;
652+
};
653653

654654
// one Type-to-Value entry
655655
typedef struct _jl_typemap_entry_t {

0 commit comments

Comments
 (0)