const poisoning, spreading to fix new const warnings

in _winreg.c.
This commit is contained in:
Tim Peters 2005-12-24 06:03:06 +00:00
parent dc297b4ef4
commit c3d12ac88c
3 changed files with 8 additions and 8 deletions

View file

@ -455,7 +455,7 @@ static PyNumberMethods PyHKEY_NumberMethods =
/* fwd declare __getattr__ */
static PyObject *PyHKEY_getattr(PyObject *self, char *name);
static PyObject *PyHKEY_getattr(PyObject *self, const char *name);
/* The type itself */
PyTypeObject PyHKEY_Type =
@ -526,7 +526,7 @@ static struct PyMethodDef PyHKEY_methods[] = {
};
/*static*/ PyObject *
PyHKEY_getattr(PyObject *self, char *name)
PyHKEY_getattr(PyObject *self, const char *name)
{
PyObject *res;