Ignore:
Timestamp:
Aug 30, 2018, 6:39:41 PM (3 years ago)
Author:
viala@…
Message:

[boot] Add const qualifier where it's possible.

Fix some gcc warning of "const qualifier discarded" warning.
Because litterals string are of type 'const char *'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boot/tsar_mips32/boot_tty_driver.c

    r457 r521  
    7474
    7575//////////////////////////////////
    76 int boot_tty_write( char    * buf,
    77                     uint32_t  nbytes )
     76int boot_tty_write( const char * buf,
     77                    uint32_t     nbytes )
    7878{
    7979    uint32_t nb_printed;
Note: See TracChangeset for help on using the changeset viewer.