python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 13 Jan 2008 05:07:20 +0000 (06:07 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 13 Jan 2008 05:07:20 +0000 (06:07 +0100)
(This used to be commit e179db6d0fcf093082f2ad441980a2bb77ac6b17)

source4/scripting/python/uuidmodule.c

index 9b952d31b9b1e7fa731dabc413c2a47cdb2bfcfb..e05b286dd01c3bdfd7edbe1564ca0f8e417e4eda 100644 (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)