summaryrefslogtreecommitdiff
path: root/Python/dynload_os2.c
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 02:51:18 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 02:51:18 -0400
commitf612c8fa7c1d6e244200a3eff0a82abcca4cca82 (patch)
treed1357d40266b1dc172b7b5775e2e846b78374319 /Python/dynload_os2.c
parent28be5286a1aa35dca0f8ad3a95b3af79a3fa4538 (diff)
parentee9ef0c902e3a5c5d90c9a5f19bd602965ab07b8 (diff)
downloadcpython-f612c8fa7c1d6e244200a3eff0a82abcca4cca82.tar.gz
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
Diffstat (limited to 'Python/dynload_os2.c')
-rw-r--r--Python/dynload_os2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/Python/dynload_os2.c b/Python/dynload_os2.c
index 101c024bbe..0e1b907b8c 100644
--- a/Python/dynload_os2.c
+++ b/Python/dynload_os2.c
@@ -9,13 +9,9 @@
#include "importdl.h"
-const struct filedescr _PyImport_DynLoadFiletab[] = {
- {".pyd", "rb", C_EXTENSION},
- {".dll", "rb", C_EXTENSION},
- {0, 0}
-};
+const char *_PyImport_DynLoadFiletab[] = {".pyd", ".dll", NULL};
-dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
+dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname,
const char *pathname, FILE *fp)
{
dl_funcptr p;