summaryrefslogtreecommitdiff
path: root/Python/dynload_os2.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-11-10 21:08:35 -0800
committerGregory P. Smith <greg@krypto.org>2012-11-10 21:08:35 -0800
commitf6128db16b5187864ee8da2078d87bd52539fcad (patch)
treeaf42c874e1018ca9364a6db7e71519534d50d142 /Python/dynload_os2.c
parenta4eb9cd2ed70bb68d5ec8adb15a3d2b9b7ed7800 (diff)
parente289369efdb4e18f4a82ada19773bda9bd5b1781 (diff)
downloadcpython-f6128db16b5187864ee8da2078d87bd52539fcad.tar.gz
null merge
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;