gh-103167: Fix -Wstrict-prototypes warnings by using (void) for functions with no args (GH-103168)

This commit is contained in:
Nikita Sobolev 2023-04-05 10:22:33 +03:00 committed by GitHub
parent 1a8f862e32
commit 119f67de08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 16 additions and 16 deletions

View file

@ -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;