git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b06161
)
python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons.
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 13 Jan 2008 05:07:20 +0000
(06:07 +0100)
committer
Jelmer 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
patch
|
blob
|
history
diff --git
a/source4/scripting/python/uuidmodule.c
b/source4/scripting/python/uuidmodule.c
index 9b952d31b9b1e7fa731dabc413c2a47cdb2bfcfb..e05b286dd01c3bdfd7edbe1564ca0f8e417e4eda 100644
(file)
--- 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)