summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PC/import_nt.c8
-rw-r--r--Python/import.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/PC/import_nt.c b/PC/import_nt.c
index 196a774..aa99c43 100644
--- a/PC/import_nt.c
+++ b/PC/import_nt.c
@@ -15,10 +15,10 @@
/* a string loaded from the DLL at startup */
extern const char *PyWin_DLLVersionString;
-FILE *PyWin_FindRegisteredModule(const char *moduleName,
- struct filedescr **ppFileDesc,
- char *pathBuf,
- Py_ssize_t pathLen)
+FILE *_PyWin_FindRegisteredModule(const char *moduleName,
+ struct filedescr **ppFileDesc,
+ char *pathBuf,
+ Py_ssize_t pathLen)
{
char *moduleKey;
const char keyPrefix[] = "Software\\Python\\PythonCore\\";
diff --git a/Python/import.c b/Python/import.c
index 23752ee..f4015b5 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -1547,8 +1547,8 @@ PyImport_GetImporter(PyObject *path) {
pathname and an open file. Return NULL if the module is not found. */
#ifdef MS_COREDLL
-extern FILE *PyWin_FindRegisteredModule(const char *, struct filedescr **,
- char *, Py_ssize_t);
+extern FILE *_PyWin_FindRegisteredModule(const char *, struct filedescr **,
+ char *, Py_ssize_t);
#endif
static int case_ok(char *, Py_ssize_t, Py_ssize_t, char *);
@@ -1631,7 +1631,7 @@ find_module(char *fullname, char *subname, PyObject *path, char *buf,
return &fd_builtin;
}
#ifdef MS_COREDLL
- fp = PyWin_FindRegisteredModule(name, &fdp, buf, buflen);
+ fp = _PyWin_FindRegisteredModule(name, &fdp, buf, buflen);
if (fp != NULL) {
*p_fp = fp;
return fdp;