summaryrefslogtreecommitdiff
path: root/python/rpmsmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmsmodule.c')
-rw-r--r--python/rpmsmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/rpmsmodule.c b/python/rpmsmodule.c
index 3eb240314..a8289b5f6 100644
--- a/python/rpmsmodule.c
+++ b/python/rpmsmodule.c
@@ -59,15 +59,15 @@ static struct PyModuleDef moduledef = {
"_rpms", /* m_name */
rpms__doc__, /* m_doc */
0, /* m_size */
- NULL, /* m_methods */
+ modMethods, /* m_methods */
NULL, /* m_reload */
NULL, /* m_traverse */
NULL, /* m_clear */
NULL /* m_free */
};
-PyObject * PyInit__rpm(void); /* XXX eliminate gcc warning */
-PyObject * PyInit__rpm(void)
+PyObject * PyInit__rpms(void); /* XXX eliminate gcc warning */
+PyObject * PyInit__rpms(void)
{
PyObject *m;