sched: nxstyle fixes

nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2021-02-08 18:46:31 +01:00
committed by Xiang Xiao
parent 8935ac4cc3
commit dee641828f
13 changed files with 38 additions and 25 deletions
+2 -2
View File
@@ -45,8 +45,8 @@
*
* Description:
* Copy the internal environment structure of a task. This is the action
* that is performed when a new task is created: The new task has a private,
* exact duplicate of the parent task's environment.
* that is performed when a new task is created: The new task has a
* private, exact duplicate of the parent task's environment.
*
* Input Parameters:
* group - The child task group to receive the newly allocated copy of the
+3 -1
View File
@@ -60,7 +60,9 @@
*
****************************************************************************/
int env_foreach(FAR struct task_group_s *group, env_foreach_t cb, FAR void *arg)
int env_foreach(FAR struct task_group_s *group,
env_foreach_t cb,
FAR void *arg)
{
FAR char *ptr;
FAR char *end;
+2 -1
View File
@@ -41,7 +41,8 @@
* Name: putenv
*
* Description:
* The putenv() function adds or changes the value of environment variables.
* The putenv() function adds or changes the value of environment
* variables.
* The argument string is of the form name=value. If name does not already
* exist in the environment, then string is added to the environment. If
* name does exist, then the value of name in the environment is changed to
+5 -3
View File
@@ -96,7 +96,9 @@ int setenv(FAR const char *name, FAR const char *value, int overwrite)
}
else
{
/* Otherwise, it is a request to remove a variable without altering it? */
/* Otherwise, it is a request to remove a variable without
* altering it?
*/
return OK;
}
@@ -131,8 +133,8 @@ int setenv(FAR const char *name, FAR const char *value, int overwrite)
env_removevar(group, pvar);
}
/* Get the size of the new name=value string. The +2 is for the '=' and for
* null terminator
/* Get the size of the new name=value string.
* The +2 is for the '=' and for null terminator
*/
varlen = strlen(name) + strlen(value) + 2;
+3 -2
View File
@@ -58,8 +58,9 @@ extern "C"
*
* Description:
* Copy the internal environment structure of a task. This is the action
* that is performed when a new task is created: The new task has a private,
* exact duplicate of the parent task's environment.
* that is performed when a new task is created:
* The new task has a private, exact duplicate of the parent task's
* environment.
*
* Input Parameters:
* group - The child task group to receive the newly allocated copy of the