Ignore:
Timestamp:
Aug 30, 2018, 10:25:58 PM (6 years ago)
Author:
viala@…
Message:

[boot] Uniformisation of style on some prototypes.

File:
1 edited

Legend:

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

    r523 r525  
    222222
    223223///////////////////////////////////////////////////////
    224 void boot_memcpy(void * dst, void * src, uint32_t size)
     224void boot_memcpy( void * dst, const void * src, uint32_t size )
    225225{
    226226    uint32_t * wdst = dst;
    227     uint32_t * wsrc = src;
     227    const uint32_t * wsrc = src;
    228228
    229229    // word-by-word copy if both addresses are word-aligned
     
    238238
    239239    unsigned char * cdst = (unsigned char *)wdst;
    240     unsigned char * csrc = (unsigned char *)wsrc;
     240    const unsigned char * csrc = (const unsigned char *)wsrc;
    241241
    242242    // byte-by-byte copy if:
     
    250250
    251251////////////////////////////////////////////////////
    252 void boot_memset(void * dst, int val, uint32_t size)
     252void boot_memset( void * dst, int val, uint32_t size )
    253253{
    254254    val &= 0xFF;
Note: See TracChangeset for help on using the changeset viewer.