summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/timespec.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-05 22:27:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-05 22:27:47 +0000
commit6a6141606b1e0300aacc6edb01d4204e710ca49e (patch)
tree280dbd715b5f34801164592f7dcfc3f11db18452 /cpukit/score/include/rtems/score/timespec.h
parent2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-6a6141606b1e0300aacc6edb01d4204e710ca49e.tar.bz2
2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/timespec.h: Remove unnecessary includes. Fix typo. * posix/include/rtems/posix/time.h, score/src/coretodget.c, score/src/coretodgetuptime.c: Add required include files which were formerly included from timespec.h
Diffstat (limited to 'cpukit/score/include/rtems/score/timespec.h')
-rw-r--r--cpukit/score/include/rtems/score/timespec.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/cpukit/score/include/rtems/score/timespec.h b/cpukit/score/include/rtems/score/timespec.h
index e7b17e871d..42eb67a377 100644
--- a/cpukit/score/include/rtems/score/timespec.h
+++ b/cpukit/score/include/rtems/score/timespec.h
@@ -31,12 +31,10 @@ extern "C" {
#endif
#include <sys/types.h>
-#include <rtems/score/tod.h>
-#include <rtems/score/watchdog.h>
/** @brief Is Timespec Valid
*
- * This method determines the validatity of a timespec.
+ * This method determines the validity of a timespec.
*
* @param[in] time is the timespec instance to validate.
*
@@ -52,7 +50,7 @@ bool _Timespec_Is_valid(
* This method is the less than operator for timespecs.
*
* @param[in] lhs is the left hand side timespec
- * @param[in] rhs is the left hand side timespec
+ * @param[in] rhs is the right hand side timespec
*
* @return This method returns true if @a lhs is less than the @a rhs and
* false otherwise.
@@ -67,7 +65,7 @@ bool _Timespec_Less_than(
* This method is the greater than operator for timespecs.
*
* @param[in] lhs is the left hand side timespec
- * @param[in] rhs is the left hand side timespec
+ * @param[in] rhs is the right hand side timespec
*
* @return This method returns true if @a lhs is greater than the @a rhs and
* false otherwise.
@@ -82,7 +80,7 @@ bool _Timespec_Greater_than(
* This method is the is equal to than operator for timespecs.
*
* @param[in] lhs is the left hand side timespec
- * @param[in] rhs is the left hand side timespec
+ * @param[in] rhs is the right hand side timespec
*
* @return This method returns true if @a lhs is equal to @a rhs and
* false otherwise.
@@ -150,7 +148,7 @@ void _Timespec_Subtract(
struct timespec *result
);
-/** @brief Divide Timespec By Integet
+/** @brief Divide Timespec By Integer
*
* This routine divides a timespec by an integer value. The expected
* use is to assist in benchmark calculations where you typically
@@ -174,7 +172,7 @@ void _Timespec_Divide_by_integer(
* intended use is for calculating percentages to three decimal points.
*
* @param[in] lhs is the left hand number
- * @param[in] rhs is the righ hand number
+ * @param[in] rhs is the right hand number
* @param[in] ival_percentage is the integer portion of the average
* @param[in] fval_percentage is the thousandths of percentage
*