summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coretodgetuptimetimespec.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-11-28 08:11:31 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-11-28 08:17:26 -0600
commitf7f1d776decf9d46f27d0242e43ce85d67f32df1 (patch)
tree3e00b3401f0663707da851e7a35c3c5d1ef8f627 /cpukit/score/src/coretodgetuptimetimespec.c
parentscore: Add CPU_Exception_frame (diff)
downloadrtems-f7f1d776decf9d46f27d0242e43ce85d67f32df1.tar.bz2
score misc: Clean up Doxygen (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. https://google-melange.appspot.com/gci/task/view/google/gci2012/7978208
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/coretodgetuptimetimespec.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/cpukit/score/src/coretodgetuptimetimespec.c b/cpukit/score/src/coretodgetuptimetimespec.c
index a4c72d2369..500acfd479 100644
--- a/cpukit/score/src/coretodgetuptimetimespec.c
+++ b/cpukit/score/src/coretodgetuptimetimespec.c
@@ -1,8 +1,12 @@
-/*
- * Time of Day (TOD) Handler - get uptime
+/**
+ * @file
+ *
+ * @brief Get Uptime as struct timespec
+ * @ingroup ScoreTODConstants
*/
-/* COPYRIGHT (c) 1989-2008.
+/*
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -19,17 +23,6 @@
#include <rtems/score/timestamp.h>
#include <rtems/score/tod.h>
-/*
- * _TOD_Get_uptime_as_timespec
- *
- * This routine is used to obtain the system uptime
- *
- * Input parameters:
- * time - pointer to the timestamp structure
- *
- * Output parameters: NONE
- */
-
void _TOD_Get_uptime_as_timespec(
struct timespec *uptime
)