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

Make more functions static

üst d8b995f5
...@@ -16,7 +16,7 @@ bool_print(PyBoolObject *self, FILE *fp, int flags) ...@@ -16,7 +16,7 @@ bool_print(PyBoolObject *self, FILE *fp, int flags)
static PyObject *false_str = NULL; static PyObject *false_str = NULL;
static PyObject *true_str = NULL; static PyObject *true_str = NULL;
PyObject * static PyObject *
bool_repr(PyBoolObject *self) bool_repr(PyBoolObject *self)
{ {
PyObject *s; PyObject *s;
...@@ -47,7 +47,7 @@ PyObject *PyBool_FromLong(long ok) ...@@ -47,7 +47,7 @@ PyObject *PyBool_FromLong(long ok)
/* We define bool_new to always return either Py_True or Py_False */ /* We define bool_new to always return either Py_True or Py_False */
PyObject * static PyObject *
bool_new(PyTypeObject *type, PyObject *args, PyObject *kwds) bool_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
{ {
static char *kwlist[] = {"x", 0}; static char *kwlist[] = {"x", 0};
......
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