summaryrefslogtreecommitdiffstats
path: root/arch/sparc/prom/console_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/prom/console_32.c')
-rw-r--r--arch/sparc/prom/console_32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/sparc/prom/console_32.c b/arch/sparc/prom/console_32.c
index 5340264..2ce5acb 100644
--- a/arch/sparc/prom/console_32.c
+++ b/arch/sparc/prom/console_32.c
@@ -19,8 +19,7 @@ extern void restore_current(void);
/* Non blocking get character from console input device, returns -1
* if no input was taken. This can be used for polling.
*/
-int
-prom_nbgetchar(void)
+static int prom_nbgetchar(void)
{
static char inc;
int i = -1;
@@ -51,8 +50,7 @@ prom_nbgetchar(void)
/* Non blocking put character to console device, returns -1 if
* unsuccessful.
*/
-int
-prom_nbputchar(char c)
+static int prom_nbputchar(char c)
{
static char outc;
unsigned long flags;
OpenPOWER on IntegriCloud