summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-04-05 07:22:33 (GMT)
committerGitHub <noreply@github.com>2023-04-05 07:22:33 (GMT)
commit119f67de08f1fddc2a3f7b7caac7454cb57ef800 (patch)
treea3549c73af276f62bf274f606b4ad3dd683fa363 /Python/sysmodule.c
parent1a8f862e329c3872a11d4ef8eb85cf353ca2f4d5 (diff)
downloadcpython-119f67de08f1fddc2a3f7b7caac7454cb57ef800.zip
cpython-119f67de08f1fddc2a3f7b7caac7454cb57ef800.tar.gz
cpython-119f67de08f1fddc2a3f7b7caac7454cb57ef800.tar.bz2
gh-103167: Fix `-Wstrict-prototypes` warnings by using `(void)` for functions with no args (GH-103168)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 4afb0f1..f1a294d 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1488,7 +1488,7 @@ static PyStructSequence_Desc windows_version_desc = {
};
static PyObject *
-_sys_getwindowsversion_from_kernel32()
+_sys_getwindowsversion_from_kernel32(void)
{
#ifndef MS_WINDOWS_DESKTOP
return NULL;