]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove stray typedef in _tkinter.c (GH-142924)
authormdehoon <mjldehoon@yahoo.com>
Sat, 24 Jan 2026 15:20:14 +0000 (00:20 +0900)
committerGitHub <noreply@github.com>
Sat, 24 Jan 2026 15:20:14 +0000 (17:20 +0200)
Co-authored-by: Michiel de Hoon <mdehoon@tkx288.genome.gsc.riken.jp>
Modules/_tkinter.c

index e6c0c1ff46ce52ee0fb16d4b6e3589957c5e4097..1524d02d9e5a5edce62a89751d0e056e3fb927ee 100644 (file)
@@ -235,7 +235,6 @@ static PyThread_type_lock tcl_lock = 0;
 
 #ifdef TCL_THREADS
 static Tcl_ThreadDataKey state_key;
-typedef PyThreadState *ThreadSpecificData;
 #define tcl_tstate \
     (*(PyThreadState**)Tcl_GetThreadData(&state_key, sizeof(PyThreadState*)))
 #else