From 6ef36c1f82fa9d48a3418f25202cab55b2f54d2f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 13 Jan 2008 06:07:20 +0100 Subject: python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons. (This used to be commit e179db6d0fcf093082f2ad441980a2bb77ac6b17) --- source4/scripting/python/uuidmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/scripting/python/uuidmodule.c b/source4/scripting/python/uuidmodule.c index 9b952d31b9..e05b286dd0 100644 --- a/source4/scripting/python/uuidmodule.c +++ b/source4/scripting/python/uuidmodule.c @@ -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) -- cgit