From 0c32279626d166fe0e09c571fcfc9af25508b1cd Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 17 Jul 2002 16:49:03 +0000 Subject: Removed more stray instances of statichere, but left _sre.c alone. --- Modules/arraymodule.c | 2 +- Modules/md5module.c | 2 +- Modules/pyexpat.c | 2 +- Modules/rotormodule.c | 2 +- Modules/selectmodule.c | 2 +- Modules/xxmodule.c | 2 +- Modules/zlibmodule.c | 4 ++-- Python/ceval.c | 2 +- 8 files changed, 9 insertions(+), 9 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", diff --git a/Python/ceval.c b/Python/ceval.c index 0cd1c36..ab6d88b 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -178,7 +178,7 @@ static PyMemberDef gen_memberlist[] = { {NULL} /* Sentinel */ }; -statichere PyTypeObject gentype = { +static PyTypeObject gentype = { PyObject_HEAD_INIT(&PyType_Type) 0, /* ob_size */ "generator", /* tp_name */ -- cgit v0.12