From: Matthias Klose Date: Sun, 16 Jan 2011 20:57:01 +0000 (+0000) Subject: rangeobject.c (compute_slice_indices): Make function static. X-Git-Tag: v3.2rc2~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=616667fbe8eb53c3d0e4701d83987c0594e0da3c;p=python rangeobject.c (compute_slice_indices): Make function static. --- diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c index 979a62afdb..cff2ce4741 100644 --- a/Objects/rangeobject.c +++ b/Objects/rangeobject.c @@ -342,7 +342,7 @@ compute_slice_element(PyObject *obj) * Result indicates whether or not the slice is empty * (-1 = error, 0 = empty slice, 1 = slice contains elements) */ -int +static int compute_slice_indices(rangeobject *r, PySliceObject *slice, PyObject **start, PyObject **stop, PyObject **step) {