Changeset 521 for trunk/boot/tsar_mips32/boot_utils.h
- Timestamp:
- Aug 30, 2018, 6:39:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot_utils.h
r474 r521 150 150 * @ dest : pointer to the destination string. 151 151 ****************************************************************************/ 152 void boot_strcpy( char* dest, char* src);152 void boot_strcpy( char* dest, const char * src ); 153 153 154 154 /**************************************************************************** … … 158 158 * @ returns the number of bytes in the string. 159 159 ****************************************************************************/ 160 uint32_t boot_strlen( char* s);160 uint32_t boot_strlen( const char * s ); 161 161 162 162 /**************************************************************************** … … 166 166 * @ returns 0 if these 2 strings match, 1 otherwise. 167 167 ****************************************************************************/ 168 int boot_strcmp( char* s1, char* s2);168 int boot_strcmp( const char * s1, const char * s2 ); 169 169 170 170 /**************************************************************************** … … 177 177 * @ str : pointer to the string to be printed on the boot TTY terminal. 178 178 ****************************************************************************/ 179 void boot_puts( char* str);179 void boot_puts( const char* str ); 180 180 181 181 /**************************************************************************** … … 200 200 * - %s : NUL terminated string. 201 201 ****************************************************************************/ 202 void boot_printf( char* format, ...);202 void boot_printf( const char* format, ... ); 203 203 204 204 /****************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.