mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Make sure that labeling is used consistently in all function headers.
This commit is contained in:
@@ -89,7 +89,7 @@ static long compare_timespec(FAR const struct timespec *a,
|
||||
* reltime - Convert this absolue time to system clock ticks.
|
||||
* ticks - Return the converted number of ticks here.
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* OK on success; A non-zero error number on failure;
|
||||
*
|
||||
* Assumptions:
|
||||
|
||||
@@ -70,7 +70,7 @@ static const uint8_t g_lookup[12] = {2, 5, 7, 10, 12, 15, 17, 20, 23, 25, 28, 30
|
||||
* month - 0 through 11
|
||||
* day - 1 through 31
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* The day of the week as days since Sunday: 0 = Sunday, 1 = Monday, etc.
|
||||
*
|
||||
* Assumptions:
|
||||
|
||||
@@ -275,7 +275,7 @@ void clock_initialize(void)
|
||||
* Parameters:
|
||||
* None
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
* Assumptions:
|
||||
@@ -314,7 +314,7 @@ void clock_synchronize(void)
|
||||
* Parameters:
|
||||
* rtc_diff: amount of time system-time is adjusted forward with RTC
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
* Assumptions:
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
* Parameters:
|
||||
* None
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* The current value of the system timer counter
|
||||
*
|
||||
* Assumptions:
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
* Parameters:
|
||||
* ts - Location to return the time
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* Current version always returns OK
|
||||
*
|
||||
* Assumptions:
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* ticks - The number of system time ticks to convert.
|
||||
* reltime - Return the converted system time here.
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* Always returns OK
|
||||
*
|
||||
* Assumptions:
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
* reltime - Convert this relative time to system clock ticks.
|
||||
* ticks - Return the converted number of ticks here.
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* Always returns OK
|
||||
*
|
||||
* Assumptions:
|
||||
|
||||
@@ -54,11 +54,11 @@
|
||||
* Description:
|
||||
* Add timespec ts1 to to2 and return the result in ts3
|
||||
*
|
||||
* Inputs:
|
||||
* Input Parameters:
|
||||
* ts1 and ts2: The two timespecs to be added
|
||||
* t23: The location to return the result (may be ts1 or ts2)
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -55,11 +55,11 @@
|
||||
* Subtract timespec ts2 from to1 and return the result in ts3.
|
||||
* Zero is returned if the time difference is negative.
|
||||
*
|
||||
* Inputs:
|
||||
* Input Parameters:
|
||||
* ts1 and ts2: The two timespecs to be subtracted (ts1 - ts2)
|
||||
* t23: The location to return the result (may be ts1 or ts2)
|
||||
*
|
||||
* Return Value:
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user