aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/gc_free_threading.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-02-20 16:02:27 +0100
committerGitHub <noreply@github.com>2024-02-20 15:02:27 +0000
commit9af80ec83d1647a472331bd1333a7fa9108fe98e (patch)
tree855d09a92949b6cbe2b6a9c177bfd399a87a2fa6 /Python/gc_free_threading.c
parent0749244d13412d7cb5b53d834f586f2198f5b9a6 (diff)
downloadcpython-9af80ec83d1647a472331bd1333a7fa9108fe98e.tar.gz
cpython-9af80ec83d1647a472331bd1333a7fa9108fe98e.zip
gh-110850: Replace _PyTime_t with PyTime_t (#115719)
Run command: sed -i -e 's!\<_PyTime_t\>!PyTime_t!g' $(find -name "*.c" -o -name "*.h")
Diffstat (limited to 'Python/gc_free_threading.c')
-rw-r--r--Python/gc_free_threading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/gc_free_threading.c b/Python/gc_free_threading.c
index 2993ef4ac78..0f159f4a272 100644
--- a/Python/gc_free_threading.c
+++ b/Python/gc_free_threading.c
@@ -1071,7 +1071,7 @@ gc_collect_main(PyThreadState *tstate, int generation, _PyGC_Reason reason)
int i;
Py_ssize_t m = 0; /* # objects collected */
Py_ssize_t n = 0; /* # unreachable objects that couldn't be collected */
- _PyTime_t t1 = 0; /* initialize to prevent a compiler warning */
+ PyTime_t t1 = 0; /* initialize to prevent a compiler warning */
GCState *gcstate = &tstate->interp->gc;
// gc_collect_main() must not be called before _PyGC_Init