summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/ts64lessthan.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-09-28 14:42:12 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-09-28 14:42:12 +0000
commit3a42e6fd104c3544a677ffbbeda2fd59e1bbb100 (patch)
tree1fffb6c96058801bb8bdf1723a198d705e40fe91 /cpukit/score/src/ts64lessthan.c
parentHousekeeping. (diff)
downloadrtems-3a42e6fd104c3544a677ffbbeda2fd59e1bbb100.tar.bz2
2011-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1914/cpukit * score/src/timespecgreaterthan.c, score/src/ts64greaterthan.c: Removed files. * score/Makefile.am: Reflect changes above. * score/include/rtems/score/timespec.h, score/include/rtems/score/timestamp.h, score/include/rtems/score/timestamp64.h, score/src/ts64addto.c, score/src/ts64divide.c, score/src/ts64dividebyinteger.c, score/src/ts64equalto.c, score/src/ts64getnanoseconds.c, score/src/ts64getseconds.c, score/src/ts64lessthan.c, score/src/ts64set.c, score/src/ts64settozero.c, score/src/ts64subtract.c, score/src/ts64toticks.c, score/src/ts64totimespec.c: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC, CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE. Removed copy and paste.
Diffstat (limited to 'cpukit/score/src/ts64lessthan.c')
-rw-r--r--cpukit/score/src/ts64lessthan.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/cpukit/score/src/ts64lessthan.c b/cpukit/score/src/ts64lessthan.c
index 1df5eb11f8..e0d6519c16 100644
--- a/cpukit/score/src/ts64lessthan.c
+++ b/cpukit/score/src/ts64lessthan.c
@@ -17,18 +17,14 @@
#include "config.h"
#endif
-#include <sys/types.h>
-
-#include <rtems/system.h>
#include <rtems/score/timestamp.h>
-#if defined(CPU_RTEMS_SCORE_TIMESTAMP_IS_INT64) && \
- !defined(CPU_RTEMS_SCORE_TIMESTAMP_INT64_INLINE)
+#if CPU_TIMESTAMP_USE_INT64 == TRUE
bool _Timestamp64_Less_than(
- Timestamp64_Control *_lhs,
- Timestamp64_Control *_rhs
+ const Timestamp64_Control *_lhs,
+ const Timestamp64_Control *_rhs
)
{
- return (*(_lhs) < *(_rhs));
+ _Timestamp64_implementation_Less_than( _lhs, _rhs );
}
#endif