Fix warning in generated C code (#667)

This commit is contained in:
Jason Ansel
2022-09-18 12:57:32 -07:00
committed by GitHub
parent 4a77dfb042
commit e647402fd3

View File

@@ -1139,7 +1139,7 @@ static struct PyModuleDef ModuleDef = {{
ModuleMethods
}};
PyMODINIT_FUNC PyInit_{kernel_name}() {{
PyMODINIT_FUNC PyInit_{kernel_name}(void) {{
PyObject *m = PyModule_Create(&ModuleDef);
if(m == NULL) {{
return NULL;