summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/python
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules/python')
-rw-r--r--auto/modules/python4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/modules/python b/auto/modules/python
index 9be6b370..480ae1da 100644
--- a/auto/modules/python
+++ b/auto/modules/python
@@ -86,7 +86,7 @@ if /bin/sh -c "$NXT_PYTHON_CONFIG --prefix" >> $NXT_AUTOCONF_ERR 2>&1; then
nxt_feature_test="
#include <Python.h>
- int main() {
+ int main(void) {
Py_Initialize();
return 0;
}"
@@ -114,7 +114,7 @@ nxt_feature_test="
#include <Python.h>
#include <stdio.h>
- int main() {
+ int main(void) {
printf(\"%s\", PY_VERSION);
return 0;
}"