Fix build and sign module initialization in python3 (RhBug:1064758)
- PyInit_foo() name needs to match the module name. Doh.
This commit is contained in:
parent
37903d7572
commit
0073376965
|
@ -66,8 +66,8 @@ static struct PyModuleDef moduledef = {
|
|||
NULL /* m_free */
|
||||
};
|
||||
|
||||
PyObject * PyInit__rpm(void); /* XXX eliminate gcc warning */
|
||||
PyObject * PyInit__rpm(void)
|
||||
PyObject * PyInit__rpmb(void); /* XXX eliminate gcc warning */
|
||||
PyObject * PyInit__rpmb(void)
|
||||
{
|
||||
PyObject *m;
|
||||
|
||||
|
|
|
@ -66,8 +66,8 @@ static struct PyModuleDef moduledef = {
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue