summaryrefslogtreecommitdiff
path: root/testmacros.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-06-13 14:19:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-06-13 14:19:07 +0000
commite082954f5a615718a9fd185cd795f87bceaa9f6d (patch)
tree50222e5103cfc30752d1ed43189a02ca4a8794a7 /testmacros.h
parentb784b0a8f5db64cd2c30bef4ce00baf8f19ef0e0 (diff)
2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* testmacros.h: Eliminate use of obsolete rtems_clock_get().
Diffstat (limited to 'testmacros.h')
-rw-r--r--testmacros.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/testmacros.h b/testmacros.h
index fe0f044..b001122 100644
--- a/testmacros.h
+++ b/testmacros.h
@@ -53,17 +53,6 @@
} while (0)
/*
- * static inline routine to make obtaining ticks per second easier.
- */
-
-static inline uint32_t get_ticks_per_second( void )
-{
- rtems_interval ticks_per_second;
- (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); return ticks_per_second;
-}
-
-
-/*
* This allows us to view the "Test_task" instantiations as a set
* of numbered tasks by eliminating the number of application
* tasks created.