Kaydet (Commit) addfe0c0 authored tarafından Neal Norwitz's avatar Neal Norwitz

Make private functions static so we don't pollute the namespace

üst 3ae84b63
...@@ -353,7 +353,8 @@ mark_restore(SRE_STATE* state, int lo, int hi) ...@@ -353,7 +353,8 @@ mark_restore(SRE_STATE* state, int lo, int hi)
return 0; return 0;
} }
void lastmark_restore(SRE_STATE *state, int lastmark) static void
lastmark_restore(SRE_STATE *state, int lastmark)
{ {
if (state->lastmark > lastmark) { if (state->lastmark > lastmark) {
memset( memset(
......
...@@ -3197,7 +3197,7 @@ PyEval_GetFuncDesc(PyObject *func) ...@@ -3197,7 +3197,7 @@ PyEval_GetFuncDesc(PyObject *func)
#define EXT_POP(STACK_POINTER) (*--(STACK_POINTER)) #define EXT_POP(STACK_POINTER) (*--(STACK_POINTER))
void static void
err_args(PyObject *func, int flags, int nargs) err_args(PyObject *func, int flags, int nargs)
{ {
if (flags & METH_NOARGS) if (flags & METH_NOARGS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment