summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2014-10-13 15:24:31 -0400
committerGedare Bloom <gedare@rtems.org>2014-10-13 15:24:31 -0400
commitb7d32736652593bad3a1cb7544b0a29570a2b6e5 (patch)
treee751906c1abdeb7c374aeb5712bf93e7c3596895
parenta0f27360c9bcc4a56e9fba4cfb0c19b689977cd5 (diff)
downloadrtems-b7d32736652593bad3a1cb7544b0a29570a2b6e5.tar.bz2
sparc64: make local functions static in conscfg
-rw-r--r--c/src/lib/libbsp/sparc64/shared/console/conscfg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sparc64/shared/console/conscfg.c b/c/src/lib/libbsp/sparc64/shared/console/conscfg.c
index 648eca06cb..471bdc8193 100644
--- a/c/src/lib/libbsp/sparc64/shared/console/conscfg.c
+++ b/c/src/lib/libbsp/sparc64/shared/console/conscfg.c
@@ -12,7 +12,7 @@
#include <boot/ofw.h>
-int sun4v_console_device_first_open(int major, int minor, void *arg)
+static int sun4v_console_device_first_open(int major, int minor, void *arg)
{
return 0;
}
@@ -23,21 +23,21 @@ static ssize_t sun4v_console_poll_write(int minor, const char *buf, size_t n)
return 0;
}
-void sun4v_console_deviceInitialize (int minor)
+static void sun4v_console_deviceInitialize (int minor)
{
}
-int sun4v_console_poll_read(int minor){
+static int sun4v_console_poll_read(int minor){
int a;
ofw_read(&a,1);
- if(a!=0){
+ if ( a != 0 ) {
return a>>24;
}
return -1;
}
-bool sun4v_console_deviceProbe (int minor){
+static bool sun4v_console_deviceProbe (int minor){
return true;
}