[PATCH 08/14] [Msvcrt*]: implemented _putwch
Eric Pouech
eric.pouech at orange.fr
Tue Nov 2 16:03:22 CDT 2010
A+
---
dlls/msvcr100/msvcr100.spec | 2 +-
dlls/msvcr80/msvcr80.spec | 2 +-
dlls/msvcr90/msvcr90.spec | 2 +-
dlls/msvcrt/file.c | 8 ++++++++
dlls/msvcrt/msvcrt.spec | 2 +-
5 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcr100/msvcr100.spec b/dlls/msvcr100/msvcr100.spec
index 747dfde..78d2d11 100644
--- a/dlls/msvcr100/msvcr100.spec
+++ b/dlls/msvcr100/msvcr100.spec
@@ -1037,7 +1037,7 @@
@ cdecl _putenv(str) msvcrt._putenv
@ cdecl _putenv_s(str str) msvcrt._putenv_s
@ cdecl _putw(long ptr) msvcrt._putw
-@ stub _putwch
+@ cdecl _putwch(long) msvcrt._putwch
@ stub _putwch_nolock
@ cdecl _putws(wstr) msvcrt._putws
@ stub _pwctype
diff --git a/dlls/msvcr80/msvcr80.spec b/dlls/msvcr80/msvcr80.spec
index 6b89e4c..af83d53 100644
--- a/dlls/msvcr80/msvcr80.spec
+++ b/dlls/msvcr80/msvcr80.spec
@@ -885,7 +885,7 @@
@ cdecl _putenv(str) msvcrt._putenv
@ cdecl _putenv_s(str str) msvcrt._putenv_s
@ cdecl _putw(long ptr) msvcrt._putw
-@ stub _putwch
+@ cdecl _putwch(long) msvcrt._putwch
@ stub _putwch_nolock
@ cdecl _putws(wstr) msvcrt._putws
@ stub _pwctype
diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec
index 0f19b6c..c89fae9 100644
--- a/dlls/msvcr90/msvcr90.spec
+++ b/dlls/msvcr90/msvcr90.spec
@@ -871,7 +871,7 @@
@ cdecl _putenv(str) msvcrt._putenv
@ cdecl _putenv_s(str str) msvcrt._putenv_s
@ cdecl _putw(long ptr) msvcrt._putw
-@ stub _putwch
+@ cdecl _putwch(long) msvcrt._putwch
@ stub _putwch_nolock
@ cdecl _putws(wstr) msvcrt._putws
@ stub _pwctype
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index 3eb93ac..fad1b95 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -3106,6 +3106,14 @@ int CDECL MSVCRT_putchar(int c)
}
/*********************************************************************
+ * _putwch (MSVCRT.@)
+ */
+int CDECL MSVCRT__putwch(int c)
+{
+ return MSVCRT_fputwc(c, MSVCRT_stdout);
+}
+
+/*********************************************************************
* puts (MSVCRT.@)
*/
int CDECL MSVCRT_puts(const char *s)
diff --git a/dlls/msvcrt/msvcrt.spec b/dlls/msvcrt/msvcrt.spec
index 9a86918..58831b7 100644
--- a/dlls/msvcrt/msvcrt.spec
+++ b/dlls/msvcrt/msvcrt.spec
@@ -816,7 +816,7 @@
@ cdecl _putenv(str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
-# stub _putwch
+@ cdecl _putwch(long) MSVCRT__putwch
@ cdecl _putws(wstr)
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
More information about the wine-patches
mailing list