mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +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
|
@ -109,6 +109,7 @@ Local naming conventions:
|
|||
#include "pycore_capsule.h" // _PyCapsule_SetTraverse()
|
||||
#include "pycore_fileutils.h" // _Py_set_inheritable()
|
||||
#include "pycore_moduleobject.h" // _PyModule_GetState
|
||||
#include "pycore_time.h" // _PyTime_AsMilliseconds()
|
||||
|
||||
#ifdef _Py_MEMORY_SANITIZER
|
||||
# include <sanitizer/msan_interface.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue