summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-13 06:07:20 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-13 06:07:20 +0100
commit6ef36c1f82fa9d48a3418f25202cab55b2f54d2f (patch)
tree79266b70d8f229ac1abb405832cf61d149044f68 /source4/scripting/python
parent7b061619047f76f57c26ac1fc4fb530cadf0337b (diff)
downloadsamba-6ef36c1f82fa9d48a3418f25202cab55b2f54d2f.tar.gz
samba-6ef36c1f82fa9d48a3418f25202cab55b2f54d2f.tar.bz2
samba-6ef36c1f82fa9d48a3418f25202cab55b2f54d2f.zip
python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons.
(This used to be commit e179db6d0fcf093082f2ad441980a2bb77ac6b17)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/uuidmodule.c2
1 files changed, 1 insertions, 1 deletions
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)