mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
gh-103167: Fix -Wstrict-prototypes
warnings by using (void)
for functions with no args (GH-103168)
This commit is contained in:
parent
1a8f862e32
commit
119f67de08
7 changed files with 16 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue