Fix white spaces.
[pforth] / csrc / stdio / pf_io_stdio.c
index 75decfc..6d70a6b 100644 (file)
@@ -1,57 +1,57 @@
-/* $Id$ */\r
-/***************************************************************\r
-** I/O subsystem for PForth for common systems.\r
-**\r
-** Author: Phil Burk\r
-** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom\r
-**\r
-** The pForth software code is dedicated to the public domain,\r
-** and any third party may reproduce, distribute and modify\r
-** the pForth software code or any derivative works thereof\r
-** without any compensation or license.  The pForth software\r
-** code is provided on an "as is" basis without any warranty\r
-** of any kind, including, without limitation, the implied\r
-** warranties of merchantability and fitness for a particular\r
-** purpose and their equivalents under the laws of any jurisdiction.\r
-**\r
-****************************************************************\r
-** 941004 PLB Extracted IO calls from pforth_main.c\r
-***************************************************************/\r
-\r
-#include "../pf_all.h"\r
-\r
-/* Default portable terminal I/O. */\r
-int  sdTerminalOut( char c )\r
-{\r
-       return putchar(c);\r
-}\r
-/* We don't need to echo because getchar() echos. */\r
-int  sdTerminalEcho( char c )\r
-{\r
-       return 0;\r
-}\r
-int  sdTerminalIn( void )\r
-{\r
-       return getchar();\r
-}\r
-int  sdQueryTerminal( void )\r
-{\r
-       return 0;\r
-}\r
-\r
-int  sdTerminalFlush( void )\r
-{\r
-#ifdef PF_NO_FILEIO\r
-       return -1;\r
-#else\r
-       return fflush(PF_STDOUT);\r
-#endif\r
-}\r
-\r
-void sdTerminalInit( void )\r
-{\r
-}\r
-void sdTerminalTerm( void )\r
-{\r
-}\r
-\r
+/* $Id$ */
+/***************************************************************
+** I/O subsystem for PForth for common systems.
+**
+** Author: Phil Burk
+** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom
+**
+** The pForth software code is dedicated to the public domain,
+** and any third party may reproduce, distribute and modify
+** the pForth software code or any derivative works thereof
+** without any compensation or license.  The pForth software
+** code is provided on an "as is" basis without any warranty
+** of any kind, including, without limitation, the implied
+** warranties of merchantability and fitness for a particular
+** purpose and their equivalents under the laws of any jurisdiction.
+**
+****************************************************************
+** 941004 PLB Extracted IO calls from pforth_main.c
+***************************************************************/
+
+#include "../pf_all.h"
+
+/* Default portable terminal I/O. */
+int  sdTerminalOut( char c )
+{
+    return putchar(c);
+}
+/* We don't need to echo because getchar() echos. */
+int  sdTerminalEcho( char c )
+{
+    return 0;
+}
+int  sdTerminalIn( void )
+{
+    return getchar();
+}
+int  sdQueryTerminal( void )
+{
+    return 0;
+}
+
+int  sdTerminalFlush( void )
+{
+#ifdef PF_NO_FILEIO
+    return -1;
+#else
+    return fflush(PF_STDOUT);
+#endif
+}
+
+void sdTerminalInit( void )
+{
+}
+void sdTerminalTerm( void )
+{
+}
+