[PATCH 107/111] LEON CONS: fix build warnings
Daniel Hellstrom
daniel at gaisler.com
Thu Feb 26 16:39:49 UTC 2015
---
c/src/lib/libbsp/sparc/shared/uart/cons.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/uart/cons.c b/c/src/lib/libbsp/sparc/shared/uart/cons.c
index 3de9f54..f0af1f9 100644
--- a/c/src/lib/libbsp/sparc/shared/uart/cons.c
+++ b/c/src/lib/libbsp/sparc/shared/uart/cons.c
@@ -40,7 +40,7 @@ struct console_priv {
struct console_priv cons[CONSOLE_MAX] = {{0,0},};
/* Register Console to TERMIOS layer and initialize it */
-void console_dev_init(struct console_priv *con, int minor)
+static void console_dev_init(struct console_priv *con, int minor)
{
char name[16], *fsname;
rtems_status_code status;
--
1.7.0.4
More information about the devel
mailing list