Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.
diff --git a/PC/os2emx/Makefile b/PC/os2emx/Makefile
index 2fcb334..5f4cab8 100644
--- a/PC/os2emx/Makefile
+++ b/PC/os2emx/Makefile
@@ -281,7 +281,7 @@
Modules/gcmodule.c \
Modules/signalmodule.c \
Modules/posixmodule.c \
- Modules/threadmodule.c \
+ Modules/_threadmodule.c \
Modules/arraymodule.c \
Modules/binascii.c \
Modules/cmathmodule.c \
diff --git a/PC/os2emx/config.c b/PC/os2emx/config.c
index 47378fd..93fbecc 100644
--- a/PC/os2emx/config.c
+++ b/PC/os2emx/config.c
@@ -39,7 +39,7 @@
extern void initos2();
extern void initsignal();
#ifdef WITH_THREAD
-extern void initthread();
+extern void init_thread();
#endif
extern void init_codecs();
extern void init_csv();
@@ -99,7 +99,7 @@
{"os2", initos2},
{"signal", initsignal},
#ifdef WITH_THREAD
- {"thread", initthread},
+ {"_thread", init_thread},
#endif
{"_codecs", init_codecs},
{"_csv", init_csv},
diff --git a/PC/os2emx/python26.def b/PC/os2emx/python26.def
index 2795050..8bc91c8 100644
--- a/PC/os2emx/python26.def
+++ b/PC/os2emx/python26.def
@@ -1194,8 +1194,8 @@
; From python26_s.lib(posixmodule)
; "initos2"
-; From python26_s.lib(threadmodule)
-; "initthread"
+; From python26_s.lib(_threadmodule)
+; "init_thread"
; From python26_s.lib(arraymodule)
; "initarray"