diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-19 17:33:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 17:33:24 +0100 |
commit | 4b540313238de9d53bd9d9866eb481e954ad508f (patch) | |
tree | 5021b5ba974f6125950566764580ff8b35d734ce /Python/pytime.c | |
parent | 0a54bd6dd7cda3b9611bf33652184c477a332c7e (diff) | |
download | cpython-4b540313238de9d53bd9d9866eb481e954ad508f.tar.gz cpython-4b540313238de9d53bd9d9866eb481e954ad508f.zip |
gh-131238: Remove pycore_runtime.h from pycore_pystate.h (#131356)
* Remove includes from pycore_pystate.h:
* pycore_runtime_structs.h
* pycore_runtime.h
* pycore_tstate.h
* pycore_interp.h
* Reorganize internal headers. Move _gc_thread_state from
pycore_interp_structs.h to pycore_tstate.h.
* Add 3 new header files to PCbuild/pythoncore.vcxproj.
Diffstat (limited to 'Python/pytime.c')
-rw-r--r-- | Python/pytime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/pytime.c b/Python/pytime.c index 23e16086339..67cf6437264 100644 --- a/Python/pytime.c +++ b/Python/pytime.c @@ -1,7 +1,8 @@ #include "Python.h" #include "pycore_initconfig.h" // _PyStatus_ERR -#include "pycore_time.h" // PyTime_t #include "pycore_pystate.h" // _Py_AssertHoldsTstate() +#include "pycore_runtime.h" // _PyRuntime +#include "pycore_time.h" // PyTime_t #include <time.h> // gmtime_r() #ifdef HAVE_SYS_TIME_H |