From b49e601449d52fb10d8816b5d23644332111d002 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 2 Feb 2011 17:47:25 +0100 Subject: sandbox: remove non used functions linux_getc/putc Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- arch/sandbox/os/common.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'arch/sandbox/os') diff --git a/arch/sandbox/os/common.c b/arch/sandbox/os/common.c index 287be0d13b..dcaf0c837e 100644 --- a/arch/sandbox/os/common.c +++ b/arch/sandbox/os/common.c @@ -73,17 +73,6 @@ static void cookmode(void) tcsetattr(0, TCSANOW, &term_orig); } -void linux_putc(const char c) -{ - fputc(c, stdout); - - /* If \n, also do \r */ - if (c == '\n') - linux_putc ('\r'); - - fflush(stdout); -} - int linux_tstc(int fd) { struct timeval tv = { @@ -117,15 +106,6 @@ int ctrlc(void) return 0; } -int linux_getc(void) -{ - char ret; - - read(0, &ret, 1); - - return ret; -} - uint64_t linux_get_time(void) { struct timespec ts; -- cgit v1.2.3