From: Neal Norwitz Date: Tue, 6 Aug 2002 22:12:52 +0000 (+0000) Subject: Make more functions static X-Git-Tag: v2.3c1~4655 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=657d22270019f851b752869b4fc951679d55c12a;p=thirdparty%2FPython%2Fcpython.git Make more functions static --- diff --git a/Objects/boolobject.c b/Objects/boolobject.c index a20af006804c..af6150d97432 100644 --- a/Objects/boolobject.c +++ b/Objects/boolobject.c @@ -16,7 +16,7 @@ bool_print(PyBoolObject *self, FILE *fp, int flags) static PyObject *false_str = NULL; static PyObject *true_str = NULL; -PyObject * +static PyObject * bool_repr(PyBoolObject *self) { PyObject *s; @@ -47,7 +47,7 @@ PyObject *PyBool_FromLong(long ok) /* We define bool_new to always return either Py_True or Py_False */ -PyObject * +static PyObject * bool_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { static char *kwlist[] = {"x", 0};