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
commit42040fb66571cbd3929f3141d6841d2e4fe047a0 (patch)
tree7cddee76b9ed51aa8cccc49bac6019324f3a9a62 /Python/importdl.c
parent9b99b448f79fcb004e1c45b47fd6fe869635f445 (diff)
downloadcpython-git-42040fb66571cbd3929f3141d6841d2e4fe047a0.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;