summaryrefslogtreecommitdiff
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-02-22 23:16:19 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2011-02-22 23:16:19 +0000
commit3046647478f584b665a33c3a1c3d1d6117979d64 (patch)
tree1b3bf63efe5ef6666104409618dccd6d148e8734 /Python/importdl.c
parentb5162583f02ef19edb3b4804cac793f1183c6283 (diff)
downloadcpython-3046647478f584b665a33c3a1c3d1d6117979d64.tar.gz
Issue #3080: Remove unused argument of _PyImport_GetDynLoadFunc()
The first argument, fqname, was not used.
Diffstat (limited to 'Python/importdl.c')
-rw-r--r--Python/importdl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Python/importdl.c b/Python/importdl.c
index 9caed453aa..74ca8a7cca 100644
--- a/Python/importdl.c
+++ b/Python/importdl.c
@@ -12,8 +12,7 @@
#include "importdl.h"
-extern dl_funcptr _PyImport_GetDynLoadFunc(const char *name,
- const char *shortname,
+extern dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname,
const char *pathname, FILE *fp);
@@ -48,7 +47,7 @@ _PyImport_LoadDynamicModule(char *name, char *pathname, FILE *fp)
shortname = lastdot+1;
}
- p0 = _PyImport_GetDynLoadFunc(name, shortname, pathname, fp);
+ p0 = _PyImport_GetDynLoadFunc(shortname, pathname, fp);
p = (PyObject*(*)(void))p0;
if (PyErr_Occurred())
goto error;