Changeset 6789d70 in rtems


Ignore:
Timestamp:
Dec 7, 2009, 4:21:07 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
56aadea
Parents:
b65dd1f
Message:

2009-12-07 Ralf Corsépius <ralf.corsepius@…>

  • console/conio.c, console/console.c, include/conio.h: Let *getch return "int". Remove casts.
Location:
c/src/lib/libbsp/arm/gba
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/gba/ChangeLog

    rb65dd1f r6789d70  
     12009-12-07      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * console/conio.c, console/console.c, include/conio.h:
     4        Let *getch return "int". Remove casts.
     5
    162009-10-21      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/arm/gba/console/conio.c

    rb65dd1f r6789d70  
    378378 *  @return Selected char code
    379379 */
    380 char gba_getch(void)
     380int gba_getch(void)
    381381{
    382382  int  keyx, key  = 0;
  • c/src/lib/libbsp/arm/gba/console/console.c

    rb65dd1f r6789d70  
    7575BSP_output_char_function_type     BSP_output_char = (BSP_output_char_function_type)     gba_putch;
    7676/** BSP_poll_char for printk support */
    77 BSP_polling_getchar_function_type BSP_poll_char   = (BSP_polling_getchar_function_type) gba_getch;
     77BSP_polling_getchar_function_type BSP_poll_char   = gba_getch;
    7878
    7979/**
  • c/src/lib/libbsp/arm/gba/include/conio.h

    rb65dd1f r6789d70  
    8383int     gba_printf(const char *_format, ...);
    8484void    gba_gotoxy(int _x, int _y);
    85 char    gba_getch(void);
     85int     gba_getch(void);
    8686
    8787
Note: See TracChangeset for help on using the changeset viewer.