diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-09 12:56:18 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-10 10:17:17 -0500 |
commit | 4977f07e6872d7253535a7ec67b153254e1c4088 (patch) | |
tree | c70d92497b2b9d60fb0b5e4f89428477f0d9d644 /c/src/lib/libbsp/i386/pc386/console/conscfg.c | |
parent | gumstix/include/bsp.h: Do not include libchip/serial to avoid conflicts when ... (diff) | |
download | rtems-4977f07e6872d7253535a7ec67b153254e1c4088.tar.bz2 |
i386/pc386: Eliminate multiple warnings
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/console/conscfg.c')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/console/conscfg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/console/conscfg.c b/c/src/lib/libbsp/i386/pc386/console/conscfg.c index f9ed5d8c2f..f0295ef29e 100644 --- a/c/src/lib/libbsp/i386/pc386/console/conscfg.c +++ b/c/src/lib/libbsp/i386/pc386/console/conscfg.c @@ -5,7 +5,7 @@ */ /* - * COPYRIGHT (c) 1989-2011. + * COPYRIGHT (c) 1989-2014. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -21,6 +21,7 @@ #include "vgacons.h" #include <bsp/irq.h> #include <rtems/pci.h> +#include <bsp/rtd316.h> #define VGA_CONSOLE_FUNCTIONS &vgacons_fns #if 0 @@ -39,7 +40,7 @@ #define CLOCK_RATE (115200 * 16) -uint8_t com_get_register(uint32_t addr, uint8_t i) +static uint8_t com_get_register(uint32_t addr, uint8_t i) { register uint8_t val; @@ -47,7 +48,7 @@ uint8_t com_get_register(uint32_t addr, uint8_t i) return val; } -void com_set_register(uint32_t addr, uint8_t i, uint8_t val) +static void com_set_register(uint32_t addr, uint8_t i, uint8_t val) { outport_byte( (addr + i),val ); } |