mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
e976baba99
commit
d207c7cd5a
23 changed files with 28 additions and 17 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue