mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03: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
|
|
@ -121,7 +121,7 @@ Copyright (C) 1994 Steen Lumholt.
|
|||
#define WAIT_FOR_STDIN
|
||||
|
||||
static PyObject *
|
||||
_get_tcl_lib_path()
|
||||
_get_tcl_lib_path(void)
|
||||
{
|
||||
static PyObject *tcl_library_path = NULL;
|
||||
static int already_checked = 0;
|
||||
|
|
|
|||
|
|
@ -8546,7 +8546,7 @@ os_setpgrp_impl(PyObject *module)
|
|||
#include <processsnapshot.h>
|
||||
|
||||
static PyObject*
|
||||
win32_getppid()
|
||||
win32_getppid(void)
|
||||
{
|
||||
DWORD error;
|
||||
PyObject* result = NULL;
|
||||
|
|
@ -13330,7 +13330,7 @@ static int has_ShellExecute = -1;
|
|||
static HINSTANCE (CALLBACK *Py_ShellExecuteW)(HWND, LPCWSTR, LPCWSTR, LPCWSTR,
|
||||
LPCWSTR, INT);
|
||||
static int
|
||||
check_ShellExecute()
|
||||
check_ShellExecute(void)
|
||||
{
|
||||
HINSTANCE hShell32;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue