mirror of
https://github.com/apache/nuttx.git
synced 2026-10-23 06:48:44 +00:00
Fix nxstyle issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
eca7059785
commit
f8a809eb5b
22 changed files with 93 additions and 80 deletions
|
|
@ -436,7 +436,7 @@ int clock_systimespec(FAR struct timespec *ts);
|
|||
* Return load measurement data for the select PID.
|
||||
*
|
||||
* Input Parameters:
|
||||
* pid - The task ID of the thread of interest. pid == 0 is the IDLE thread.
|
||||
* pid - The task ID of the thread of interest. pid == 0 is IDLE thread.
|
||||
* cpuload - The location to return the CPU load
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ EXTERN const int g_builtin_count;
|
|||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
# define HAVE_GROUP_MEMBERS 1
|
||||
#endif
|
||||
|
||||
/* In any event, we don't need group members if support for pthreads is disabled */
|
||||
/* We don't need group members if support for pthreads is disabled */
|
||||
|
||||
#ifdef CONFIG_DISABLE_PTHREAD
|
||||
# undef HAVE_GROUP_MEMBERS
|
||||
|
|
|
|||
|
|
@ -54,7 +54,9 @@
|
|||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
/* If CONFIG_BUILD_PROTECTED, then CONFIG_NUTTX_USERSPACE must be defined to
|
||||
* provide the address where the user-space header can be found in memory.
|
||||
*/
|
||||
|
|
@ -73,6 +75,7 @@
|
|||
#endif
|
||||
|
||||
/* Helper Macros ************************************************************/
|
||||
|
||||
/* This macro is used to access the struct userpace_s header that can be
|
||||
* found at the beginning of the user-space blob.
|
||||
*/
|
||||
|
|
@ -89,9 +92,9 @@
|
|||
|
||||
struct mm_heaps_s; /* Forward reference */
|
||||
|
||||
/* Every user-space blob starts with a header that provides information about
|
||||
* the blob. The form of that header is provided by struct userspace_s. An
|
||||
* instance of this structure is expected to reside at CONFIG_NUTTX_USERSPACE.
|
||||
/* Every user-space blob starts with a header that provides information about
|
||||
* the blob. The form of that header is provided by struct userspace_s. An
|
||||
* instance of this is expected to reside at CONFIG_NUTTX_USERSPACE.
|
||||
*/
|
||||
|
||||
struct userspace_s
|
||||
|
|
@ -166,7 +169,8 @@ extern "C"
|
|||
****************************************************************************/
|
||||
|
||||
#ifndef __KERNEL__
|
||||
void task_startup(main_t entrypt, int argc, FAR char *argv[]) noreturn_function;
|
||||
void task_startup(main_t entrypt, int argc, FAR char *argv[])
|
||||
noreturn_function;
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue