[Python-checkins] r66912 - python/trunk/Modules/posixmodule.c

hirokazu.yamamoto python-checkins at python.org
Thu Oct 16 08:25:25 CEST 2008


Author: hirokazu.yamamoto
Date: Thu Oct 16 08:25:25 2008
New Revision: 66912
Log:
removed unused _PyUnicode_FromFileSystemEncodedObject.
made win32_chdir, win32_wchdir static.
Modified:
 python/trunk/Modules/posixmodule.c
Modified: python/trunk/Modules/posixmodule.c
==============================================================================
--- python/trunk/Modules/posixmodule.c	(original)
+++ python/trunk/Modules/posixmodule.c	Thu Oct 16 08:25:25 2008
@@ -474,10 +474,6 @@
 		return PyErr_SetFromWindowsErr(errno);
 }
 
-static PyObject *_PyUnicode_FromFileSystemEncodedObject(register PyObject *obj)
-{
-}
-
 static int
 convert_to_unicode(PyObject **param)
 {
@@ -688,7 +684,7 @@
 chdir is essentially a wrapper around SetCurrentDirectory; however,
 it also needs to set "magic" environment variables indicating
 the per-drive current directory, which are of the form =<drive>: */
-BOOL __stdcall
+static BOOL __stdcall
 win32_chdir(LPCSTR path)
 {
 	char new_path[MAX_PATH+1];
@@ -713,7 +709,7 @@
 
 /* The Unicode version differs from the ANSI version
 since the current directory might exceed MAX_PATH characters */
-BOOL __stdcall
+static BOOL __stdcall
 win32_wchdir(LPCWSTR path)
 {
 	wchar_t _new_path[MAX_PATH+1], *new_path = _new_path;


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /