diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-10 15:45:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-12-10 15:45:44 (GMT) |
commit | 0c788cde5c30f347307f287a08c708dec79c91e6 (patch) | |
tree | dc249b3d11a3ff1c32d0e60a9c045ffb6b572d63 /win | |
parent | 39813465e8054beeceda75fc30d76c02609bcd83 (diff) | |
download | tcl-0c788cde5c30f347307f287a08c708dec79c91e6.zip tcl-0c788cde5c30f347307f287a08c708dec79c91e6.tar.gz tcl-0c788cde5c30f347307f287a08c708dec79c91e6.tar.bz2 |
publicize TclWinConvertError
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinError.c | 6 | ||||
-rw-r--r-- | win/tclWinTest.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinError.c b/win/tclWinError.c index e85becc..7e5898b 100644 --- a/win/tclWinError.c +++ b/win/tclWinError.c @@ -334,7 +334,7 @@ static const unsigned char wsaErrorTable[] = { /* *---------------------------------------------------------------------- * - * TclWinConvertError -- + * Tcl_WinConvertError -- * * This routine converts a Win32 error into an errno value. * @@ -348,8 +348,8 @@ static const unsigned char wsaErrorTable[] = { */ void -TclWinConvertError( - DWORD errCode) /* Win32 error code. */ +Tcl_WinConvertError( + unsigned errCode) /* Win32 error code. */ { if (errCode >= sizeof(errorTable)/sizeof(errorTable[0])) { errCode -= WSAEWOULDBLOCK; diff --git a/win/tclWinTest.c b/win/tclWinTest.c index e924b1a..f45b557 100644 --- a/win/tclWinTest.c +++ b/win/tclWinTest.c @@ -208,7 +208,7 @@ TestvolumetypeCmd( if (found == 0) { Tcl_AppendResult(interp, "could not get volume type for \"", (path?path:""), "\"", NULL); - TclWinConvertError(GetLastError()); + Tcl_WinConvertError(GetLastError()); return TCL_ERROR; } Tcl_AppendResult(interp, volType, NULL); |