Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / reactos / sdk / lib / crt / conio / cputs.c
diff --git a/reactos/sdk/lib/crt/conio/cputs.c b/reactos/sdk/lib/crt/conio/cputs.c
deleted file mode 100644 (file)
index bf0d8d0..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Imported from msvcrt/console.c */
-
-#include <precomp.h>
-
-/*********************************************************************
- *             _cputs (MSVCRT.@)
- */
-int CDECL _cputs(const char* str)
-{
-  DWORD count;
-  int len, retval = -1;
-#ifdef __REACTOS__ /* r54651 */
-  HANDLE MSVCRT_console_out = GetStdHandle(STD_OUTPUT_HANDLE);
-#endif
-
-  if (!MSVCRT_CHECK_PMT(str != NULL)) return -1;
-  len = strlen(str);
-
-#ifndef __REACTOS__ /* r54651 */
-  LOCK_CONSOLE;
-#endif
-  if (WriteConsoleA(MSVCRT_console_out, str, len, &count, NULL)
-      && count == len)
-    retval = 0;
-#ifndef __REACTOS__ /* r54651 */
-  UNLOCK_CONSOLE;
-#endif
-  return retval;
-}