summaryrefslogtreecommitdiff
path: root/Modules/structmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/structmodule.c')
-rw-r--r--Modules/structmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/structmodule.c b/Modules/structmodule.c
index a2b4096509..12759553c3 100644
--- a/Modules/structmodule.c
+++ b/Modules/structmodule.c
@@ -1222,7 +1222,7 @@ static PyMethodDef struct_methods[] = {
/* Module initialization */
DL_EXPORT(void)
-initstruct()
+initstruct(void)
{
PyObject *m, *d;