Be consistent... Use Name: consistent in function headers vs Function:

This commit is contained in:
Gregory Nutt
2017-04-21 16:33:14 -06:00
parent 2c4800f511
commit d5207efb5a
213 changed files with 730 additions and 730 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ static char g_retchar[2];
****************************************************************************/
/****************************************************************************
* Function: basename
* Name: basename
*
* Description:
* basename() extracts the filename component from a null-terminated
+1 -1
View File
@@ -53,7 +53,7 @@ static char g_retchar[2];
****************************************************************************/
/****************************************************************************
* Function: dirname
* Name: dirname
*
* Description:
* dirname() extracts the directory component from a null-terminated
+1 -1
View File
@@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_addroute
* Name: net_addroute
*
* Description:
* Add a new route to the routing table. This is just a convenience
+1 -1
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_delroute
* Name: net_delroute
*
* Description:
* Add a new route to the routing table. This is just a convenience
+1 -1
View File
@@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_destroy
* Name: pthread_attr_destroy
*
* Description:
* An attributes object can be deleted when it is no longer needed.
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getaffinity
* Name: pthread_attr_getaffinity
*
* Description:
*
+1 -1
View File
@@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getinheritsched
* Name: pthread_attr_getinheritsched
*
* Description:
* Report whether the scheduling info in the pthread
+1 -1
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getschedparam
* Name: pthread_attr_getschedparam
*
* Description:
*
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getschedpolicy
* Name: pthread_attr_getschedpolicy
*
* Description:
* Obtain the scheduling algorithm attribute.
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_getstacksize
* Name: pthread_attr_getstacksize
*
* Description:
*
+1 -1
View File
@@ -66,7 +66,7 @@ const pthread_attr_t g_default_pthread_attr = PTHREAD_ATTR_INITIALIZER;
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_init
* Name: pthread_attr_init
*
* Description:
* Initializes a thread attributes object (attr) with
+1 -1
View File
@@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setaffinity
* Name: pthread_attr_setaffinity
*
* Description:
*
+1 -1
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setinheritsched
* Name: pthread_attr_setinheritsched
*
* Description:
* Indicate whether the scheduling info in the pthread
+1 -1
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setschedparam
* Name: pthread_attr_setschedparam
*
* Description:
*
+1 -1
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setschedpolicy
* Name: pthread_attr_setschedpolicy
*
* Description:
* Set the scheduling algorithm attribute.
+1 -1
View File
@@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_attr_setstacksize
* Name: pthread_attr_setstacksize
*
* Description:
*
+1 -1
View File
@@ -48,7 +48,7 @@
********************************************************************************/
/********************************************************************************
* Function: pthread_barrierattr_destroy
* Name: pthread_barrierattr_destroy
*
* Description:
* The pthread_barrierattr_destroy() function will destroy a barrier attributes
@@ -48,7 +48,7 @@
********************************************************************************/
/********************************************************************************
* Function: pthread_barrierattr_getpshared
* Name: pthread_barrierattr_getpshared
*
* Description:
* The pthread_barrierattr_getpshared() function will obtain the value of the
+1 -1
View File
@@ -48,7 +48,7 @@
********************************************************************************/
/********************************************************************************
* Function: pthread_barrierattr_init
* Name: pthread_barrierattr_init
*
* Description:
* The pthread_barrierattr_init() function will initialize a barrier attribute
@@ -68,7 +68,7 @@
********************************************************************************/
/********************************************************************************
* Function: pthread_barrierattr_setpshared
* Name: pthread_barrierattr_setpshared
*
* Description:
* The process-shared attribute is set to PTHREAD_PROCESS_SHARED to permit a
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_condattr_destroy
* Name: pthread_condattr_destroy
*
* Description:
* Operations on condition variable attributes
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_condattr_init
* Name: pthread_condattr_init
*
* Description:
* Operations on condition variable attributes
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_destroy
* Name: pthread_mutexattr_destroy
*
* Description:
* Destroy mutex attributes.
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_getprotocol
* Name: pthread_mutexattr_getprotocol
*
* Description:
* Return the value of the mutex protocol attribute.
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_getpshared
* Name: pthread_mutexattr_getpshared
*
* Description:
* Get pshared mutex attribute.
+1 -1
View File
@@ -46,7 +46,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_getrobust
* Name: pthread_mutexattr_getrobust
*
* Description:
* Return the mutex robustneess from the mutex attributes.
+1 -1
View File
@@ -46,7 +46,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_gettype
* Name: pthread_mutexattr_gettype
*
* Description:
* Return the mutex type from the mutex attributes.
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_init
* Name: pthread_mutexattr_init
*
* Description:
* Create mutex attributes.
+1 -1
View File
@@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_setprotocol
* Name: pthread_mutexattr_setprotocol
*
* Description:
* Set mutex protocol attribute.
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_setpshared
* Name: pthread_mutexattr_setpshared
*
* Description:
* Set pshared mutex attribute.
+1 -1
View File
@@ -46,7 +46,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_setrobust
* Name: pthread_mutexattr_setrobust
*
* Description:
* Set the mutex robustness in the mutex attributes.
+1 -1
View File
@@ -46,7 +46,7 @@
****************************************************************************/
/****************************************************************************
* Function: pthread_mutexattr_settype
* Name: pthread_mutexattr_settype
*
* Description:
* Set the mutex type in the mutex attributes.
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: sem_getprotocol
* Name: sem_getprotocol
*
* Description:
* Return the value of the semaphore protocol attribute.
+1 -1
View File
@@ -68,7 +68,7 @@
****************************************************************************/
/****************************************************************************
* Function: sem_getvalue
* Name: sem_getvalue
*
* Description:
* This function updates the location referenced by 'sval' argument to
+1 -1
View File
@@ -49,7 +49,7 @@
****************************************************************************/
/****************************************************************************
* Function: sem_init
* Name: sem_init
*
* Description:
* This function initializes the UNAMED semaphore sem. Following a
+1 -1
View File
@@ -51,7 +51,7 @@
****************************************************************************/
/****************************************************************************
* Function: sem_setprotocol
* Name: sem_setprotocol
*
* Description:
* Set semaphore protocol attribute.
+1 -1
View File
@@ -45,7 +45,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigaddset
* Name: sigaddset
*
* Description:
* This function adds the signal specified by signo to the signal set
+1 -1
View File
@@ -45,7 +45,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigdelset
* Name: sigdelset
*
* Description:
* This function deletes the signal specified by signo from the signal
+1 -1
View File
@@ -44,7 +44,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigemptyset
* Name: sigemptyset
*
* Description:
* This function initializes the signal set specified by set such that all
+1 -1
View File
@@ -44,7 +44,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigfillset
* Name: sigfillset
*
* Description:
* This function initializes the signal set specified by set such that all
+1 -1
View File
@@ -44,7 +44,7 @@
****************************************************************************/
/****************************************************************************
* Function: sigismember
* Name: sigismember
*
* Description:
* This function tests whether the signal specified by signo is a member
+5 -5
View File
@@ -81,7 +81,7 @@ static const char spaces[] = " \t\n\r\f\v";
****************************************************************************/
/****************************************************************************
* Function: findwidth
* Name: findwidth
*
* Description:
* Try to figure out the width of the input data.
@@ -139,7 +139,7 @@ static int findwidth(FAR const char *buf, FAR const char *fmt)
}
/****************************************************************************
* Function: findscanset
* Name: findscanset
*
* Description:
* Fill in the given table from the scanset at the given format.
@@ -265,7 +265,7 @@ doexit:
#endif
/****************************************************************************
* Function: scansetwidth
* Name: scansetwidth
****************************************************************************/
#ifdef CONFIG_LIBC_SCANSET
@@ -295,7 +295,7 @@ static int scansetwidth(FAR const char *buf,
****************************************************************************/
/****************************************************************************
* Function: sscanf
* Name: sscanf
*
* Description:
* ANSI standard sscanf implementation.
@@ -314,7 +314,7 @@ int sscanf(FAR const char *buf, FAR const char *fmt, ...)
}
/****************************************************************************
* Function: vsscanf
* Name: vsscanf
*
* Description:
* ANSI standard vsscanf implementation.
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: asctime
* Name: asctime
*
* Description:
* asctime and asctime_r convert the time provided in a struct tm to a
+1 -1
View File
@@ -67,7 +67,7 @@ static const char * const g_mon_name[12] =
****************************************************************************/
/****************************************************************************
* Function: asctime_r
* Name: asctime_r
*
* Description:
* asctime and asctime_r convert the time provided in a struct tm to a
+2 -2
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: clock_gregorian2utc, clock_julian2utc
* Name: clock_gregorian2utc, clock_julian2utc
*
* Description:
* UTC conversion routines. These conversions are based
@@ -90,7 +90,7 @@ static time_t clock_julian2utc(int year, int month, int day)
****************************************************************************/
/****************************************************************************
* Function: clock_calendar2utc
* Name: clock_calendar2utc
*
* Description:
* Calendar/UTC conversion based on algorithms from p. 604
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: ctime
* Name: ctime
*
* Description:
* ctime and ctime_r convert the time provided in seconds since the
+1 -1
View File
@@ -52,7 +52,7 @@
****************************************************************************/
/****************************************************************************
* Function: ctime_r
* Name: ctime_r
*
* Description:
* ctime and ctime_r convert the time provided in seconds since the
+1 -1
View File
@@ -80,7 +80,7 @@
****************************************************************************/
/****************************************************************************
* Function: clock_dayoftheweek
* Name: clock_dayoftheweek
*
* Description:
* Get the day of the week
+1 -1
View File
@@ -58,7 +58,7 @@ static const uint16_t g_daysbeforemonth[13] =
****************************************************************************/
/****************************************************************************
* Function: clock_daysbeforemonth
* Name: clock_daysbeforemonth
*
* Description:
* Get the number of days that occurred before the beginning of the
+1 -1
View File
@@ -48,7 +48,7 @@
****************************************************************************/
/****************************************************************************
* Function: difftime
* Name: difftime
*
* Description:
* The difftime() function returns the number of seconds elapsed

Some files were not shown because too many files have changed in this diff Show More