]> granicus.if.org Git - python/commitdiff
Make more functions static
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 6 Aug 2002 22:12:52 +0000 (22:12 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 6 Aug 2002 22:12:52 +0000 (22:12 +0000)
Objects/boolobject.c

index a20af006804cb96b978fcb75eb4758dced728fe8..af6150d974323291cfe0785dac57100ecbd10b80 100644 (file)
@@ -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};