Changeset 473 for trunk/libs/mini-libc/stdio.c
- Timestamp:
- Aug 21, 2018, 6:01:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/mini-libc/stdio.c
r459 r473 38 38 //////////////////////////////////////////////////////////////////////////////////////// 39 39 40 ////////////////////////////////////////// 41 static int xprintf( char * string,42 unsigned int length,43 const char * format,44 va_list * args )40 /////////////////////////////////////////////////// 41 static unsigned int xprintf( char * string, 42 unsigned int length, 43 const char * format, 44 va_list * args ) 45 45 { 46 46 unsigned int ps = 0; // write index to the string buffer … … 265 265 int printf( const char * format, ... ) 266 266 { 267 char string[4096];268 va_list args;269 int count;267 char string[4096]; 268 va_list args; 269 unsigned int count; 270 270 271 271 va_start( args, format ); … … 309 309 const char * format, ... ) 310 310 { 311 va_list args;312 int count;311 va_list args; 312 unsigned int count; 313 313 314 314 va_start( args, format ); … … 374 374 const char * format, ... ) 375 375 { 376 char string[4096];377 va_list args;378 int count;379 int fd;376 char string[4096]; 377 va_list args; 378 unsigned int count; 379 int fd; 380 380 381 381 // check stream valid
Note: See TracChangeset
for help on using the changeset viewer.