Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
30466474
Commit
30466474
authored
Feb 22, 2011
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #3080: Remove unused argument of _PyImport_GetDynLoadFunc()
The first argument, fqname, was not used.
parent
b5162583
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
11 deletions
+10
-11
Python/dynload_aix.c
Python/dynload_aix.c
+1
-1
Python/dynload_dl.c
Python/dynload_dl.c
+1
-1
Python/dynload_hpux.c
Python/dynload_hpux.c
+1
-1
Python/dynload_next.c
Python/dynload_next.c
+2
-2
Python/dynload_os2.c
Python/dynload_os2.c
+1
-1
Python/dynload_shlib.c
Python/dynload_shlib.c
+1
-1
Python/dynload_win.c
Python/dynload_win.c
+1
-1
Python/importdl.c
Python/importdl.c
+2
-3
No files found.
Python/dynload_aix.c
View file @
30466474
...
@@ -154,7 +154,7 @@ aix_loaderror(const char *pathname)
...
@@ -154,7 +154,7 @@ aix_loaderror(const char *pathname)
}
}
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
fqname
,
const
char
*
shortname
,
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
shortname
,
const
char
*
pathname
,
FILE
*
fp
)
const
char
*
pathname
,
FILE
*
fp
)
{
{
dl_funcptr
p
;
dl_funcptr
p
;
...
...
Python/dynload_dl.c
View file @
30466474
...
@@ -16,7 +16,7 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
...
@@ -16,7 +16,7 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
};
};
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
fqname
,
const
char
*
shortname
,
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
shortname
,
const
char
*
pathname
,
FILE
*
fp
)
const
char
*
pathname
,
FILE
*
fp
)
{
{
char
funcname
[
258
];
char
funcname
[
258
];
...
...
Python/dynload_hpux.c
View file @
30466474
...
@@ -19,7 +19,7 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
...
@@ -19,7 +19,7 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
{
0
,
0
}
{
0
,
0
}
};
};
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
fqname
,
const
char
*
shortname
,
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
shortname
,
const
char
*
pathname
,
FILE
*
fp
)
const
char
*
pathname
,
FILE
*
fp
)
{
{
dl_funcptr
p
;
dl_funcptr
p
;
...
...
Python/dynload_next.c
View file @
30466474
...
@@ -31,8 +31,8 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
...
@@ -31,8 +31,8 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
#define LINKOPTIONS NSLINKMODULE_OPTION_BINDNOW| \
#define LINKOPTIONS NSLINKMODULE_OPTION_BINDNOW| \
NSLINKMODULE_OPTION_RETURN_ON_ERROR|NSLINKMODULE_OPTION_PRIVATE
NSLINKMODULE_OPTION_RETURN_ON_ERROR|NSLINKMODULE_OPTION_PRIVATE
#endif
#endif
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
fqname
,
const
char
*
shortname
,
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
shortname
,
const
char
*
pathname
,
FILE
*
fp
)
const
char
*
pathname
,
FILE
*
fp
)
{
{
dl_funcptr
p
=
NULL
;
dl_funcptr
p
=
NULL
;
char
funcname
[
258
];
char
funcname
[
258
];
...
...
Python/dynload_os2.c
View file @
30466474
...
@@ -15,7 +15,7 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
...
@@ -15,7 +15,7 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
{
0
,
0
}
{
0
,
0
}
};
};
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
fqname
,
const
char
*
shortname
,
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
shortname
,
const
char
*
pathname
,
FILE
*
fp
)
const
char
*
pathname
,
FILE
*
fp
)
{
{
dl_funcptr
p
;
dl_funcptr
p
;
...
...
Python/dynload_shlib.c
View file @
30466474
...
@@ -75,7 +75,7 @@ static struct {
...
@@ -75,7 +75,7 @@ static struct {
static
int
nhandles
=
0
;
static
int
nhandles
=
0
;
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
fqname
,
const
char
*
shortname
,
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
shortname
,
const
char
*
pathname
,
FILE
*
fp
)
const
char
*
pathname
,
FILE
*
fp
)
{
{
dl_funcptr
p
;
dl_funcptr
p
;
...
...
Python/dynload_win.c
View file @
30466474
...
@@ -171,7 +171,7 @@ static char *GetPythonImport (HINSTANCE hModule)
...
@@ -171,7 +171,7 @@ static char *GetPythonImport (HINSTANCE hModule)
return
NULL
;
return
NULL
;
}
}
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
fqname
,
const
char
*
shortname
,
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
shortname
,
const
char
*
pathname
,
FILE
*
fp
)
const
char
*
pathname
,
FILE
*
fp
)
{
{
dl_funcptr
p
;
dl_funcptr
p
;
...
...
Python/importdl.c
View file @
30466474
...
@@ -12,8 +12,7 @@
...
@@ -12,8 +12,7 @@
#include "importdl.h"
#include "importdl.h"
extern
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
name
,
extern
dl_funcptr
_PyImport_GetDynLoadFunc
(
const
char
*
shortname
,
const
char
*
shortname
,
const
char
*
pathname
,
FILE
*
fp
);
const
char
*
pathname
,
FILE
*
fp
);
...
@@ -48,7 +47,7 @@ _PyImport_LoadDynamicModule(char *name, char *pathname, FILE *fp)
...
@@ -48,7 +47,7 @@ _PyImport_LoadDynamicModule(char *name, char *pathname, FILE *fp)
shortname
=
lastdot
+
1
;
shortname
=
lastdot
+
1
;
}
}
p0
=
_PyImport_GetDynLoadFunc
(
name
,
shortname
,
pathname
,
fp
);
p0
=
_PyImport_GetDynLoadFunc
(
shortname
,
pathname
,
fp
);
p
=
(
PyObject
*
(
*
)(
void
))
p0
;
p
=
(
PyObject
*
(
*
)(
void
))
p0
;
if
(
PyErr_Occurred
())
if
(
PyErr_Occurred
())
goto
error
;
goto
error
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment