1 diff -up Python-2.5.1/Modules/_sqlite/cache.h.pysqlite Python-2.5.1/Modules/_sqlite/cache.h
2 --- Python-2.5.1/Modules/_sqlite/cache.h.pysqlite 2006-04-23 16:24:26.000000000 +0100
3 +++ Python-2.5.1/Modules/_sqlite/cache.h 2007-10-25 11:21:31.000000000 +0100
4 @@ -64,7 +64,7 @@ extern PyTypeObject CacheType;
5 int node_init(Node* self, PyObject* args, PyObject* kwargs);
6 void node_dealloc(Node* self);
8 -int cache_init(Cache* self, PyObject* args, PyObject* kwargs);
9 +int pysqlite_cache_init(Cache* self, PyObject* args, PyObject* kwargs);
10 void cache_dealloc(Cache* self);
11 PyObject* cache_get(Cache* self, PyObject* args);
13 diff -up Python-2.5.1/Modules/_sqlite/cache.c.pysqlite Python-2.5.1/Modules/_sqlite/cache.c
14 --- Python-2.5.1/Modules/_sqlite/cache.c.pysqlite 2006-04-23 16:24:26.000000000 +0100
15 +++ Python-2.5.1/Modules/_sqlite/cache.c 2007-10-25 11:22:10.000000000 +0100
16 @@ -54,7 +54,7 @@ void node_dealloc(Node* self)
17 self->ob_type->tp_free((PyObject*)self);
20 -int cache_init(Cache* self, PyObject* args, PyObject* kwargs)
21 +int pysqlite_cache_init(Cache* self, PyObject* args, PyObject* kwargs)
25 @@ -352,7 +352,7 @@ PyTypeObject CacheType = {
28 0, /* tp_dictoffset */
29 - (initproc)cache_init, /* tp_init */
30 + (initproc)pysqlite_cache_init, /* tp_init */