summaryrefslogtreecommitdiffstats
path: root/Python/gc.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-02-20 15:02:27 (GMT)
committerGitHub <noreply@github.com>2024-02-20 15:02:27 (GMT)
commit9af80ec83d1647a472331bd1333a7fa9108fe98e (patch)
tree855d09a92949b6cbe2b6a9c177bfd399a87a2fa6 /Python/gc.c
parent0749244d13412d7cb5b53d834f586f2198f5b9a6 (diff)
downloadcpython-9af80ec83d1647a472331bd1333a7fa9108fe98e.zip
cpython-9af80ec83d1647a472331bd1333a7fa9108fe98e.tar.gz
cpython-9af80ec83d1647a472331bd1333a7fa9108fe98e.tar.bz2
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.c')
-rw-r--r--Python/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/gc.c b/Python/gc.c
index 8c2def1..b665e46 100644
--- a/Python/gc.c
+++ b/Python/gc.c
@@ -1285,7 +1285,7 @@ gc_collect_main(PyThreadState *tstate, int generation, _PyGC_Reason reason)
PyGC_Head unreachable; /* non-problematic unreachable trash */
PyGC_Head finalizers; /* objects with, & reachable from, __del__ */
PyGC_Head *gc;
- _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