Skip to content

Commit 827273f

Browse files
Make helper functions static.
1 parent 3305a67 commit 827273f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/ceval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ _PyEval_SignalReceived(void)
322322
SIGNAL_PENDING_SIGNALS();
323323
}
324324

325-
int
325+
static int
326326
_add_pending_call(int (*func)(void *), void *arg)
327327
{
328328
// TODO: Drop the limit?
@@ -349,7 +349,7 @@ _add_pending_call(int (*func)(void *), void *arg)
349349
return 0;
350350
}
351351

352-
void
352+
static void
353353
_pop_pending_call(int (**func)(void *), void **arg)
354354
{
355355
struct _pending_call *call = _PyRuntime.ceval.pending.head;

0 commit comments

Comments
 (0)