mirror of
https://github.com/samba-team/samba.git
synced 2025-07-05 04:59:08 +03:00
python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons.
(This used to be commit e179db6d0f
)
This commit is contained in:
@ -47,7 +47,7 @@ static PyMethodDef methods[] = {
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
PyMODINIT_FUNC inituuid(void)
|
||||
void inituuid(void)
|
||||
{
|
||||
PyObject *mod = Py_InitModule3((char *)"uuid", methods, "UUID helper routines");
|
||||
if (mod == NULL)
|
||||
|
Reference in New Issue
Block a user