Skip to content

Commit b9da528

Browse files
committed
don't accidentally export symbols
1 parent 5480a12 commit b9da528

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Objects/frameobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ _PyFrame_GetState(PyFrameObject *frame)
455455
Py_UNREACHABLE();
456456
}
457457

458-
void
458+
static void
459459
add_load_fast_null_checks(PyCodeObject *co)
460460
{
461461
_Py_CODEUNIT *instructions = _PyCode_CODE(co);

Python/compile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7763,7 +7763,7 @@ assemble_jump_offsets(struct assembler *a, struct compiler *c)
77637763
} \
77647764
} while (0)
77657765

7766-
void
7766+
static void
77677767
scan_block_for_local(int target, basicblock *b, bool unsafe_to_start,
77687768
basicblock ***stack_top)
77697769
{
@@ -7812,7 +7812,7 @@ scan_block_for_local(int target, basicblock *b, bool unsafe_to_start,
78127812
}
78137813
#undef MAYBE_PUSH
78147814

7815-
int
7815+
static int
78167816
mark_unknown_variables(struct assembler *a, struct compiler *c)
78177817
{
78187818

0 commit comments

Comments
 (0)