diff options
-rw-r--r-- | Modules/_sre.c | 3 | ||||
-rw-r--r-- | Python/ceval.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c index 0357764..640f388 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c @@ -353,7 +353,8 @@ mark_restore(SRE_STATE* state, int lo, int hi) return 0; } -void lastmark_restore(SRE_STATE *state, int lastmark) +static void +lastmark_restore(SRE_STATE *state, int lastmark) { if (state->lastmark > lastmark) { memset( diff --git a/Python/ceval.c b/Python/ceval.c index e654efd..b19121c 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -3197,7 +3197,7 @@ PyEval_GetFuncDesc(PyObject *func) #define EXT_POP(STACK_POINTER) (*--(STACK_POINTER)) -void +static void err_args(PyObject *func, int flags, int nargs) { if (flags & METH_NOARGS) |