Ignore:
Timestamp:
Aug 30, 2018, 10:25:58 PM (4 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.h

    r523 r525  
    107107 * @ size   : size of memory block to be copied in bytes.
    108108 ****************************************************************************/
    109 void boot_memcpy(void* dest, void* src, uint32_t size);
     109void boot_memcpy( void * dest, const void * src, uint32_t size );
    110110
    111111/****************************************************************************
     
    116116 * @ size   : size of memory block to be filled in bytes.   
    117117 ****************************************************************************/
    118 void boot_memset(void* base, int val,   uint32_t size);
     118void boot_memset( void * base, int val, uint32_t size );
    119119
    120120/****************************************************************************
     
    127127 * @ returns the converted letter, or 'c' if conversion not possible.
    128128 ****************************************************************************/
    129 static inline unsigned char boot_to_lower(unsigned char c)
     129static inline unsigned char boot_to_lower( unsigned char c )
    130130{
    131131    return ((c >= 'A') && (c <= 'Z')) ? (c | 0x20) : c;
    132 
    133132} // boot_to_lower()
    134133
     
    138137 * @ returns the converted letter, or 'c' if conversion not possible.
    139138 ****************************************************************************/
    140 static inline unsigned char boot_to_upper(unsigned char c)
     139static inline unsigned char boot_to_upper( unsigned char c )
    141140{
    142141    return ((c >= 'a') && (c <= 'z')) ? (c & ~(0x20)) : c;
    143 
    144142} // boot_to_upper()
    145143
Note: See TracChangeset for help on using the changeset viewer.