forked from Imagelibrary/rtems
2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h (print_time): Use PRIu32 instead of %d.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* support/include/tmacros.h (print_time): Use PRIu32 instead of %d.
|
||||
|
||||
2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* support/include/test_support.h: Add missing prototypes.
|
||||
|
||||
@@ -168,7 +168,7 @@ extern volatile uint32_t _Thread_Dispatch_disable_level;
|
||||
|
||||
#define print_time(_s1, _tb, _s2) \
|
||||
do { \
|
||||
printf( "%s%02d:%02d:%02d %02d/%02d/%04d%s", \
|
||||
printf( "%s%02" PRIu32 ":%02" PRIu32 ":%02" PRIu32 " %02" PRIu32 "/%02" PRIu32 "/%04" PRIu32 "%s", \
|
||||
_s1, (_tb)->hour, (_tb)->minute, (_tb)->second, \
|
||||
(_tb)->month, (_tb)->day, (_tb)->year, _s2 ); \
|
||||
} while ( 0 )
|
||||
|
||||
Reference in New Issue
Block a user