[PATCH 04/52] gdbv850sim/console/console-io.c: Fix warnings

Gedare Bloom gedare at rtems.org
Wed Oct 8 20:10:31 UTC 2014


On Wed, Oct 8, 2014 at 3:15 PM, Joel Sherrill <joel.sherrill at oarcorp.com> wrote:
> ---
>  c/src/lib/libbsp/v850/gdbv850sim/console/console-io.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/c/src/lib/libbsp/v850/gdbv850sim/console/console-io.c b/c/src/lib/libbsp/v850/gdbv850sim/console/console-io.c
> index c178197..a66c800 100644
> --- a/c/src/lib/libbsp/v850/gdbv850sim/console/console-io.c
> +++ b/c/src/lib/libbsp/v850/gdbv850sim/console/console-io.c
> @@ -12,6 +12,14 @@
>  #include <bsp/syscall.h>
>
>  /*
> + * Prototypes
> + */
> +void console_initialize_hardware(void);
> +void console_outbyte_polled(int  port, char ch);
> +int console_inbyte_nonblocking(int port);
> +void console_output_char(char c);
> +
These prototype additions should go to a header file, or the functions
should be made static.

> +/*
>   *  console_initialize_hardware
>   *
>   *  This routine initializes the console hardware.
> @@ -38,7 +46,6 @@ void console_outbyte_polled(
>   *
>   *  This routine polls for a character.
>   */
> -
>  int console_inbyte_nonblocking(
>    int port
>  )
> --
> 1.9.3
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list