Skip to content

Commit bdde91e

Browse files
committed
Fix make smelly
Mark tstate_set_stack() as static.
1 parent a00a6f0 commit bdde91e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Python/ceval.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ int pthread_attr_destroy(pthread_attr_t *a)
439439
#endif
440440

441441

442-
void
442+
static void
443443
tstate_set_stack(PyThreadState *tstate,
444444
void *stack_start_addr, size_t stack_size)
445445
{
@@ -487,7 +487,6 @@ PyUnstable_ThreadState_SetStack(PyThreadState *tstate,
487487
}
488488

489489

490-
491490
void
492491
PyUnstable_ThreadState_ResetStack(PyThreadState *tstate)
493492
{

0 commit comments

Comments
 (0)