diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-13 06:07:20 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-01-13 06:07:20 +0100 |
commit | 6ef36c1f82fa9d48a3418f25202cab55b2f54d2f (patch) | |
tree | 79266b70d8f229ac1abb405832cf61d149044f68 /source4 | |
parent | 7b061619047f76f57c26ac1fc4fb530cadf0337b (diff) | |
download | samba-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')
-rw-r--r-- | source4/scripting/python/uuidmodule.c | 2 |
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) |