diff options
| author | Victor Stinner <vstinner@python.org> | 2024-02-20 16:50:43 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 16:50:43 (GMT) |
| commit | d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0 (patch) | |
| tree | 3c48d470b84dce1673490fb262e4733c105cd315 /Python/parking_lot.c | |
| parent | e976baba99a5c243ff3a3b5ef2fd14608a398338 (diff) | |
| download | cpython-d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0.zip cpython-d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0.tar.gz cpython-d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0.tar.bz2 | |
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.
Diffstat (limited to 'Python/parking_lot.c')
| -rw-r--r-- | Python/parking_lot.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Python/parking_lot.c b/Python/parking_lot.c index 9a8a403..9bf8376 100644 --- a/Python/parking_lot.c +++ b/Python/parking_lot.c @@ -1,11 +1,12 @@ #include "Python.h" #include "pycore_llist.h" -#include "pycore_lock.h" // _PyRawMutex +#include "pycore_lock.h" // _PyRawMutex #include "pycore_parking_lot.h" -#include "pycore_pyerrors.h" // _Py_FatalErrorFormat -#include "pycore_pystate.h" // _PyThreadState_GET -#include "pycore_semaphore.h" // _PySemaphore +#include "pycore_pyerrors.h" // _Py_FatalErrorFormat +#include "pycore_pystate.h" // _PyThreadState_GET +#include "pycore_semaphore.h" // _PySemaphore +#include "pycore_time.h" //_PyTime_GetMonotonicClock() #include <stdbool.h> |
