summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-02-22 23:12:28 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-02-22 23:12:28 (GMT)
commit9b99b448f79fcb004e1c45b47fd6fe869635f445 (patch)
tree6f3cd5627cac6854221842ceae03595763e66c6f /PC
parentcfbcdbbbf2020e6719b368ef5701d2c90b938c4f (diff)
downloadcpython-9b99b448f79fcb004e1c45b47fd6fe869635f445.zip
cpython-9b99b448f79fcb004e1c45b47fd6fe869635f445.tar.gz
cpython-9b99b448f79fcb004e1c45b47fd6fe869635f445.tar.bz2
Issue #3080: Mark PyWin_FindRegisteredModule() as private
This function was not declared in Python public API (in any .h file) and not documented. Mark it as private to prepare a change of its API.
Diffstat (limited to 'PC')
-rw-r--r--PC/import_nt.c8
1 files changed, 4 insertions, 4 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\\";