summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.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 /Modules/_tkinter.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 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 606e578..20e01c7 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -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;