diff options
author | Alex Ivanov <alexivanov97@gmail.com> | 2012-12-05 18:16:48 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2012-12-05 18:16:48 -0500 |
commit | a6500136a9f30603f7dff766d7b98766851c7204 (patch) | |
tree | 852061b300cada7facff9025868b143565058dc2 /cpukit/rtems/src/clocktodvalidate.c | |
parent | rtems misc: Clean up Doxygen GCI Task #6 (diff) | |
download | rtems-a6500136a9f30603f7dff766d7b98766851c7204.tar.bz2 |
rtems misc: Clean up Doxygen GCI Task #7
http://www.google-melange.com/gci/task/view/google/gci2012/7950206
Diffstat (limited to 'cpukit/rtems/src/clocktodvalidate.c')
-rw-r--r-- | cpukit/rtems/src/clocktodvalidate.c | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/cpukit/rtems/src/clocktodvalidate.c b/cpukit/rtems/src/clocktodvalidate.c index 7aa854cd81..a56b1df56b 100644 --- a/cpukit/rtems/src/clocktodvalidate.c +++ b/cpukit/rtems/src/clocktodvalidate.c @@ -1,7 +1,11 @@ -/* - * Time of Day (TOD) Handler -- Validate Classic TOD - * +/** + * @file * + * @brief TOD Validate + * @ingroup ClassicClock + */ + +/* * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * @@ -29,21 +33,6 @@ const uint32_t _TOD_Days_per_month[ 2 ][ 13 ] = { { 0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } }; -/* - * _TOD_Validate - * - * This kernel routine checks the validity of a date and time structure. - * - * Input parameters: - * the_tod - pointer to a time and date structure - * - * Output parameters: - * true - if the date, time, and tick are valid - * false - if the the_tod is invalid - * - * NOTE: This routine only works for leap-years through 2099. - */ - bool _TOD_Validate( const rtems_time_of_day *the_tod ) |