gh-110850: Cleanup pycore_time.h includes (#115724)

<pycore_time.h> include is no longer needed to get the PyTime_t type
in internal header files. This type is now provided by <Python.h>
include. Add <pycore_time.h> includes to C files instead.
This commit is contained in:
Victor Stinner 2024-02-20 17:50:43 +01:00 committed by GitHub
parent e976baba99
commit d207c7cd5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 28 additions and 17 deletions

View file

@ -1,8 +1,9 @@
// C Extension module to test pycore_lock.h API
#include "parts.h"
#include "pycore_lock.h"
#include "pycore_time.h" // _PyTime_GetMonotonicClock()
#include "clinic/test_lock.c.h"
#ifdef MS_WINDOWS