Changeset 521 for trunk/boot/tsar_mips32/boot_utils.c
- Timestamp:
- Aug 30, 2018, 6:39:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot_utils.c
r474 r521 282 282 283 283 /////////////////////////////////////// 284 void boot_strcpy( char* dest, char* src)284 void boot_strcpy( char * dest, const char * src) 285 285 { 286 286 /* Checking if the arguments are correct. */ … … 294 294 295 295 ///////////////////////////// 296 uint32_t boot_strlen( char* s)296 uint32_t boot_strlen( const char * s ) 297 297 { 298 298 uint32_t res = 0; /* Length of the string (in bytes). */ … … 309 309 310 310 /////////////////////////////////// 311 int boot_strcmp( char* s1, char* s2)311 int boot_strcmp( const char * s1, const char * s2 ) 312 312 { 313 313 if ((s1 == NULL) || (s2 == NULL)) … … 333 333 334 334 ///////////////////////// 335 void boot_puts( char* str)335 void boot_puts( const char * str ) 336 336 { 337 337 boot_tty_write(str, boot_strlen(str)); … … 340 340 341 341 /////////////////////////////////////// 342 void boot_printf( c har * format , ... )342 void boot_printf( const char * format , ... ) 343 343 { 344 344 va_list args;
Note: See TracChangeset
for help on using the changeset viewer.