diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-07-17 16:49:03 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-07-17 16:49:03 (GMT) |
commit | 0c32279626d166fe0e09c571fcfc9af25508b1cd (patch) | |
tree | 7eda2c480fc9fed9890218ecc889cdf14c991869 /Modules | |
parent | 50ceb68b4fa36ccda44b06c36bd375e197b2810a (diff) | |
download | cpython-0c32279626d166fe0e09c571fcfc9af25508b1cd.zip cpython-0c32279626d166fe0e09c571fcfc9af25508b1cd.tar.gz cpython-0c32279626d166fe0e09c571fcfc9af25508b1cd.tar.bz2 |
Removed more stray instances of statichere, but left _sre.c alone.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/arraymodule.c | 2 | ||||
-rw-r--r-- | Modules/md5module.c | 2 | ||||
-rw-r--r-- | Modules/pyexpat.c | 2 | ||||
-rw-r--r-- | Modules/rotormodule.c | 2 | ||||
-rw-r--r-- | Modules/selectmodule.c | 2 | ||||
-rw-r--r-- | Modules/xxmodule.c | 2 | ||||
-rw-r--r-- | Modules/zlibmodule.c | 4 |
7 files changed, 8 insertions, 8 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 87c51cc..8a79027 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1858,7 +1858,7 @@ typecode -- the typecode character used to create the array\n\ itemsize -- the length in bytes of one array item\n\ "); -statichere PyTypeObject Arraytype = { +static PyTypeObject Arraytype = { PyObject_HEAD_INIT(NULL) 0, "array.array", diff --git a/Modules/md5module.c b/Modules/md5module.c index b7f2c69..aa2bef8 100644 --- a/Modules/md5module.c +++ b/Modules/md5module.c @@ -187,7 +187,7 @@ update() -- updates the current digest with an additional string\n\ digest() -- return the current digest value\n\ copy() -- return a copy of the current md5 object"); -statichere PyTypeObject MD5type = { +static PyTypeObject MD5type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "md5.md5", /*tp_name*/ diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index 2d14675..d65ede9 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -1739,7 +1739,7 @@ clear_handlers(xmlparseobject *self, int initial) } } -statichere struct HandlerInfo handler_info[] = { +static struct HandlerInfo handler_info[] = { {"StartElementHandler", (xmlhandlersetter)XML_SetStartElementHandler, (xmlhandler)my_StartElementHandler}, diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c index 75f1aeb..7137b00 100644 --- a/Modules/rotormodule.c +++ b/Modules/rotormodule.c @@ -575,7 +575,7 @@ rotorobj_getattr(Rotorobj *s, char *name) } -statichere PyTypeObject Rotor_Type = { +static PyTypeObject Rotor_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "rotor.rotor", /*tp_name*/ diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 5d9ab35..8fdc97d 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -559,7 +559,7 @@ poll_getattr(pollObject *self, char *name) return Py_FindMethod(poll_methods, (PyObject *)self, name); } -statichere PyTypeObject poll_Type = { +static PyTypeObject poll_Type = { /* The ob_type field must be initialized in the module init function * to be portable to Windows without using C++. */ PyObject_HEAD_INIT(NULL) diff --git a/Modules/xxmodule.c b/Modules/xxmodule.c index 07f5d64..2264dfb 100644 --- a/Modules/xxmodule.c +++ b/Modules/xxmodule.c @@ -93,7 +93,7 @@ Xxo_setattr(XxoObject *self, char *name, PyObject *v) return PyDict_SetItemString(self->x_attr, name, v); } -statichere PyTypeObject Xxo_Type = { +static PyTypeObject Xxo_Type = { /* The ob_type field must be initialized in the module init function * to be portable to Windows without using C++. */ PyObject_HEAD_INIT(NULL) diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c index 2ee4996..c0dbff6 100644 --- a/Modules/zlibmodule.c +++ b/Modules/zlibmodule.c @@ -785,7 +785,7 @@ static PyMethodDef zlib_methods[] = {NULL, NULL} }; -statichere PyTypeObject Comptype = { +static PyTypeObject Comptype = { PyObject_HEAD_INIT(0) 0, "zlib.Compress", @@ -802,7 +802,7 @@ statichere PyTypeObject Comptype = { 0, /*tp_as_mapping*/ }; -statichere PyTypeObject Decomptype = { +static PyTypeObject Decomptype = { PyObject_HEAD_INIT(0) 0, "zlib.Decompress", |