Skip to content

Commit 51a93e7

Browse files
committed
Make function static.
1 parent d0139e9 commit 51a93e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/instrumentation.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ compute_line(PyCodeObject *code, int offset, int8_t line_delta)
238238
}
239239
}
240240

241-
int instruction_length(PyCodeObject *code, int offset)
241+
static int
242+
instruction_length(PyCodeObject *code, int offset)
242243
{
243244
int opcode = _PyCode_CODE(code)[offset].op.code;
244245
assert(opcode != 0);

0 commit comments

Comments
 (0)