Skip to content

Commit 71b85d8

Browse files
Drop pycore_os.h.
1 parent f22e017 commit 71b85d8

File tree

6 files changed

+0
-32
lines changed

6 files changed

+0
-32
lines changed

Include/internal/pycore_os.h

-24
This file was deleted.

Include/internal/pycore_runtime.h

-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ extern "C" {
2121
#include "pycore_pymem.h" // struct _pymem_allocators
2222
#include "pycore_pyhash.h" // struct pyhash_runtime_state
2323
#include "pycore_obmalloc.h" // struct obmalloc_state
24-
#include "pycore_os.h" // struct _os_runtime_state
2524
#include "pycore_time.h" // struct _time_runtime_state
2625
#include "pycore_unicodeobject.h" // struct _Py_unicode_runtime_ids
2726

@@ -105,7 +104,6 @@ typedef struct pyruntimestate {
105104
* KeyboardInterrupt exception, suggesting the user pressed ^C. */
106105
int unhandled_keyboard_interrupt;
107106
} signals;
108-
struct _os_runtime_state os;
109107
struct _time_runtime_state time;
110108

111109
struct pyinterpreters {

Include/internal/pycore_runtime_init.h

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ extern "C" {
2626
}, \
2727
.obmalloc = _obmalloc_state_INIT(runtime.obmalloc), \
2828
.pyhash_state = pyhash_state_INIT, \
29-
.os = _OS_RUNTIME_INIT, \
3029
.interpreters = { \
3130
/* This prevents interpreters from getting created \
3231
until _PyInterpreterState_Enable() is called. */ \

Makefile.pre.in

-1
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,6 @@ PYTHON_HEADERS= \
16541654
$(srcdir)/Include/internal/pycore_object.h \
16551655
$(srcdir)/Include/internal/pycore_obmalloc.h \
16561656
$(srcdir)/Include/internal/pycore_obmalloc_init.h \
1657-
$(srcdir)/Include/internal/pycore_os.h \
16581657
$(srcdir)/Include/internal/pycore_pathconfig.h \
16591658
$(srcdir)/Include/internal/pycore_pyarena.h \
16601659
$(srcdir)/Include/internal/pycore_pyerrors.h \

PCbuild/pythoncore.vcxproj

-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@
236236
<ClInclude Include="..\Include\internal\pycore_object.h" />
237237
<ClInclude Include="..\Include\internal\pycore_obmalloc.h" />
238238
<ClInclude Include="..\Include\internal\pycore_obmalloc_init.h" />
239-
<ClInclude Include="..\Include\internal\pycore_os.h" />
240239
<ClInclude Include="..\Include\internal\pycore_pathconfig.h" />
241240
<ClInclude Include="..\Include\internal\pycore_pyarena.h" />
242241
<ClInclude Include="..\Include\internal\pycore_pyerrors.h" />

PCbuild/pythoncore.vcxproj.filters

-3
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,6 @@
612612
<ClInclude Include="..\Include\internal\pycore_obmalloc_init.h">
613613
<Filter>Include\internal</Filter>
614614
</ClInclude>
615-
<ClInclude Include="..\Include\internal\pycore_os.h">
616-
<Filter>Include\internal</Filter>
617-
</ClInclude>
618615
<ClInclude Include="..\Include\internal\pycore_pathconfig.h">
619616
<Filter>Include\internal</Filter>
620617
</ClInclude>

0 commit comments

Comments
 (0)