Mercurial > hg > Members > kono > Cerium
comparison TaskManager/kernel/schedule/Scheduler.cc @ 742:4c2e6493b008
continue..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 12 Jan 2010 10:22:45 +0900 |
parents | 31d0a5baafdf |
children | ccf78a465459 |
comparison
equal
deleted
inserted
replaced
741:a969d3cdd20a | 742:4c2e6493b008 |
---|---|
438 Scheduler::printf(const char * format, ...) | 438 Scheduler::printf(const char * format, ...) |
439 { | 439 { |
440 #if !defined(__SPU__) | 440 #if !defined(__SPU__) |
441 va_list ap; | 441 va_list ap; |
442 va_start(ap,format); | 442 va_start(ap,format); |
443 int ret= vprintf(format, ap); | 443 int ret= vprintf0(format, ap); |
444 va_end(ap); | 444 va_end(ap); |
445 return ret; | 445 return ret; |
446 #else | 446 #else |
447 return 0; | 447 return 0; |
448 #endif | 448 #endif |
449 } | 449 } |
450 | 450 |
451 | 451 |
452 int | 452 int |
453 Scheduler::vprintf(const char * format, va_list ap) | 453 Scheduler::vprintf0(const char * format, va_list ap) |
454 { | 454 { |
455 #if !defined(__SPU__) | 455 #if !defined(__SPU__) |
456 int ret= vprintf(format, ap); | 456 int ret= vprintf(format, ap); |
457 return ret; | 457 return ret; |
458 #else | 458 #else |