Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2010-08-26 03:33:14 +0400
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2010-08-26 03:33:14 +0400
commit0fc2536a690c9283ac86124bbfab68ccead9d319 (patch)
treeec519ac717f4b594944edbfbd935d12daf681f16
parent04c82a9ba057783e291f64049508ae5810c9f951 (diff)
2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (GetEnvironmentStrings, GetEnvironmentStringsA): Per MSDN, change return type to LPCH. (GetEnvironmentStringsW): Per MSDN, change return type to LPWCH.
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/include/winbase.h6
2 files changed, 9 insertions, 3 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index d2a9d9536..97ec4cf45 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
+
+ * include/winbase.h (GetEnvironmentStrings, GetEnvironmentStringsA): Per
+ MSDN, change return type to LPCH.
+ (GetEnvironmentStringsW): Per MSDN, change return type to LPWCH.
+
2010-08-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/prsht.h (SNDMDG, POSTMSG): Fix typo.
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h
index 39a175b3f..d3906b471 100644
--- a/winsup/w32api/include/winbase.h
+++ b/winsup/w32api/include/winbase.h
@@ -1571,9 +1571,9 @@ WINBASEAPI DWORD WINAPI GetDllDirectoryW(DWORD,LPWSTR);
#endif
WINBASEAPI UINT WINAPI GetDriveTypeA(LPCSTR);
WINBASEAPI UINT WINAPI GetDriveTypeW(LPCWSTR);
-WINBASEAPI LPSTR WINAPI GetEnvironmentStrings(void);
-WINBASEAPI LPSTR WINAPI GetEnvironmentStringsA(void);
-WINBASEAPI LPWSTR WINAPI GetEnvironmentStringsW(void);
+WINBASEAPI LPCH WINAPI GetEnvironmentStrings(void);
+WINBASEAPI LPCH WINAPI GetEnvironmentStringsA(void);
+WINBASEAPI LPWCH WINAPI GetEnvironmentStringsW(void);
WINBASEAPI DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD);
WINBASEAPI DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD);
WINBASEAPI BOOL WINAPI GetExitCodeProcess(HANDLE,PDWORD);