Skip to content

Commit 4a57d8a

Browse files
committed
fix warning 'visibility' attribute ignored
1 parent 1bfe86c commit 4a57d8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tools/jit/trampoline.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ _Py_CODEUNIT *
1010
_JIT_ENTRY(
1111
_PyExecutorObject *exec, _PyInterpreterFrame *frame, _PyStackRef *stack_pointer, PyThreadState *tstate
1212
) {
13-
typedef DECLARE_TARGET((*jit_func));
14-
jit_func jitted = (jit_func)exec->jit_code;
13+
jit_func_preserve_none jitted = (jit_func_preserve_none)exec->jit_code;
1514
return jitted(frame, stack_pointer, tstate);
1615
}

0 commit comments

Comments
 (0)