diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-04-02 18:24:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-04-02 18:24:13 +0000 |
commit | 3c68f96d7a5dd68ba515bf784b19618de4305421 (patch) | |
tree | cc1f471454ca712d68095e6f01045dc843d75d97 /testsuites/sptests/spsize/size.c | |
parent | 2007-04-02 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-3c68f96d7a5dd68ba515bf784b19618de4305421.tar.bz2 |
2007-04-02 Joel Sherrill <joel@OARcorp.com>
* spsize/size.c: Convert from Classic API style TOD_Control as
fundamental time structure to POSIX struct timespec. Add
clock_get_uptime().
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spsize/size.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 8933dfe1f6..dedc6d38f6 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -368,11 +368,10 @@ uninitialized = /*timer.h*/ (sizeof _Timer_Information) + -/*tod.h*/ (sizeof _TOD_Current) + +/*tod.h*/ (sizeof _TOD_Now) + (sizeof _TOD_Seconds_since_epoch) + (sizeof _TOD_Microseconds_per_tick) + (sizeof _TOD_Ticks_per_second) + - (sizeof _TOD_Seconds_watchdog) + /*tqdata.h*/ 0 + @@ -446,12 +445,9 @@ initialized += /*copyrt.h*/ (strlen(_Copyright_Notice)+1) + /*sptables.h*/ (sizeof _Initialization_Default_multiprocessing_table) + - (strlen(_RTEMS_version)+1) + + (strlen(_RTEMS_version)+1); -/*tod.h*/ (sizeof _TOD_Days_per_month) + - (sizeof _TOD_Days_to_date) + - (sizeof _TOD_Days_since_last_leap_year); #ifndef unix /* make sure this is not native */ #ifdef __sparc__ |