[PATCH 12/34] libcpu/arm/at91rm9200/dbgu/dbgu.c: Fix warning

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 20 20:34:14 UTC 2014


---
 c/src/lib/libcpu/arm/at91rm9200/dbgu/dbgu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libcpu/arm/at91rm9200/dbgu/dbgu.c b/c/src/lib/libcpu/arm/at91rm9200/dbgu/dbgu.c
index e8d3b33..fa14a8e 100644
--- a/c/src/lib/libcpu/arm/at91rm9200/dbgu/dbgu.c
+++ b/c/src/lib/libcpu/arm/at91rm9200/dbgu/dbgu.c
@@ -198,7 +198,7 @@ static int dbgu_set_attributes(int minor, const struct termios *t)
  * Read from UART. This is used in the exit code, and can't
  * rely on interrupts.
  */
-int dbgu_poll_read(int minor)
+static int dbgu_poll_read(int minor)
 {
     return dbgu_read(minor);
 }
@@ -217,7 +217,7 @@ static void _BSP_put_char( char c ) {
 
 BSP_output_char_function_type     BSP_output_char = _BSP_put_char;
 
-int _BSP_poll_char(void)
+static int _BSP_poll_char(void)
 {
   return dbgu_poll_read(0);
 }
-- 
1.9.3




More information about the devel mailing list