diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-04-05 07:22:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-05 07:22:33 (GMT) |
commit | 119f67de08f1fddc2a3f7b7caac7454cb57ef800 (patch) | |
tree | a3549c73af276f62bf274f606b4ad3dd683fa363 /Python/sysmodule.c | |
parent | 1a8f862e329c3872a11d4ef8eb85cf353ca2f4d5 (diff) | |
download | cpython-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.c | 2 |
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; |