1
0
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:
Jelmer Vernooij
2008-01-13 06:07:20 +01:00
parent 7b06161904
commit 6ef36c1f82

View File

@ -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)