Skip to content

Commit

Permalink
Make functions static again to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
markshannon committed Oct 25, 2024
1 parent 46055c1 commit 79305d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ initialize_locals(PyThreadState *tstate, PyFunctionObject *func,
return -1;
}

void
static void
clear_thread_frame(PyThreadState *tstate, _PyInterpreterFrame * frame)
{
assert(frame->owner == FRAME_OWNED_BY_THREAD);
Expand All @@ -1722,7 +1722,7 @@ clear_thread_frame(PyThreadState *tstate, _PyInterpreterFrame * frame)
_PyThreadState_PopFrame(tstate, frame);
}

void
static void
clear_gen_frame(PyThreadState *tstate, _PyInterpreterFrame * frame)
{
assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
Expand Down

0 comments on commit 79305d2

Please sign in to comment.