diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-15 14:20:14 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 08:58:49 -0500 |
commit | 0626dba48a5190abe2ec90db5febde46c951b3af (patch) | |
tree | 7785bb6280bbbf77a183429a65a3d04149d1eb99 /c/src/lib/libbsp/sh/shsim/console/console-io.c | |
parent | arm/rtl22xx/startup/bspstart.c: Ensure bsp_start_default() is static (diff) | |
download | rtems-0626dba48a5190abe2ec90db5febde46c951b3af.tar.bz2 |
SH libcpu and libbsp: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/console/console-io.c')
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/console/console-io.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/console/console-io.c b/c/src/lib/libbsp/sh/shsim/console/console-io.c index 7f5794e784..71b089fdf7 100644 --- a/c/src/lib/libbsp/sh/shsim/console/console-io.c +++ b/c/src/lib/libbsp/sh/shsim/console/console-io.c @@ -20,20 +20,13 @@ #include <bsp/syscall.h> -int errno; - -extern int __trap34(int, int, void*, int ); - /* * console_initialize_hardware * * This routine initializes the console hardware. - * */ - void console_initialize_hardware(void) { - return; } /* @@ -41,14 +34,12 @@ void console_initialize_hardware(void) * * This routine transmits a character using polling. */ - void console_outbyte_polled( int port, char ch ) { __trap34 (SYS_write, 1, &ch, 1); - return; } /* @@ -56,7 +47,6 @@ void console_outbyte_polled( * * This routine polls for a character. */ - int console_inbyte_nonblocking( int port ) @@ -65,9 +55,3 @@ int console_inbyte_nonblocking( return __trap34 (SYS_read, 0, &c, 1); } - -/* XXX wrong place for this */ -int _sys_exit (int n) -{ - return __trap34 (SYS_exit, n, 0, 0); -} |