summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-11-10 14:33:26 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-11-10 14:33:26 (GMT)
commitaddfe0c09c34ca70da404744d09334e2e6281ae2 (patch)
treefbc6eafdf472d5e6905826c6a9f0042479755344 /Modules/_sre.c
parent3ae84b6389f108fddbed5814cd210c3a0110c633 (diff)
downloadcpython-addfe0c09c34ca70da404744d09334e2e6281ae2.zip
cpython-addfe0c09c34ca70da404744d09334e2e6281ae2.tar.gz
cpython-addfe0c09c34ca70da404744d09334e2e6281ae2.tar.bz2
Make private functions static so we don't pollute the namespace
Diffstat (limited to 'Modules/_sre.c')
-rw-r--r--Modules/_sre.c3
1 files changed, 2 insertions, 1 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(