Removed superfluous getchar() function.
We've got a getchar() function already in our libc, so there is no need to
define a second one within the net-snk code itself.
Signed-off-by: <thuth@linux.vnet.ibm.com>
diff --git a/clients/net-snk/libc/io.c b/clients/net-snk/libc/io.c
index 0e8b7e8..0364b9a 100644
--- a/clients/net-snk/libc/io.c
+++ b/clients/net-snk/libc/io.c
@@ -40,14 +40,3 @@
{
return syscall_1(_close_sc_nr,fd);
}
-
-int
-getchar(void)
-{
- char buf;
- int i;
-
- if((i = read (1, &buf, 1)) == 1)
- return (int) buf;
- return -1;
-}