]> rtime.felk.cvut.cz Git - sysless.git/blobdiff - libs4c/cmdproc/cmdio_std.c
Whitespace fixes
[sysless.git] / libs4c / cmdproc / cmdio_std.c
index e1c2b52763b68a222fa6143b61fbc2d34e224c4f..94de8316680acbd3e50f09fa6c1a7babc056c2c0 100644 (file)
@@ -1,16 +1,16 @@
 /* Definitions of IOs */
-#include <unistd.h> 
+#include <unistd.h>
 #include <cmd_proc.h>
 #include <stdio.h>
 
-static int std_putc(cmd_io_t *cmd_io, int ch) { 
+static int std_putc(cmd_io_t *cmd_io, int ch) {
     int r=putchar(ch);
     fflush(stdout);
     return r;
 }
 
 //int _getkey_nb(void);
-static int std_getc(cmd_io_t *cmd_io) { 
+static int std_getc(cmd_io_t *cmd_io) {
     return getchar();           /* On UNIX, we don't use non-blocking
                                  * variant. */
     //return _getkey_nb();
@@ -19,7 +19,7 @@ static int std_write(cmd_io_t *cmd_io, const void *buf, int count) {
     return write(1, buf, count);
 }
 static int std_read(cmd_io_t *cmd_io, void *buf, int count) {
-    return read(0, buf, count); 
+    return read(0, buf, count);
 }
 
 cmd_io_t cmd_io_std={
@@ -28,4 +28,3 @@ cmd_io_t cmd_io_std={
     write:std_write,
     read:std_read
 };
-