mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
sched/spawn: Fix the minor typo error
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
62c98d4187
commit
1e6a8f56d3
1 changed files with 5 additions and 5 deletions
|
@ -218,10 +218,10 @@ int task_spawnattr_getstacksize(FAR const posix_spawnattr_t *attr,
|
|||
int task_spawnattr_setstacksize(FAR posix_spawnattr_t *attr,
|
||||
size_t stacksize);
|
||||
#else
|
||||
# define task_spawnattr_getstackaddr(fa, addr) (*(addr) = NULL, 0)
|
||||
# define task_spawnattr_setstackaddr(fa) (0)
|
||||
# define task_spawnattr_getstacksize(fa, size) (*(size) = 0, 0)
|
||||
# define task_spawnattr_setstacksize(fa) (0)
|
||||
# define task_spawnattr_getstackaddr(attr, addr) (*(addr) = NULL, 0)
|
||||
# define task_spawnattr_setstackaddr(attr, addr) (0)
|
||||
# define task_spawnattr_getstacksize(attr, size) (*(size) = 0, 0)
|
||||
# define task_spawnattr_setstacksize(attr, size) (0)
|
||||
#endif
|
||||
|
||||
/* Non standard debug functions */
|
||||
|
@ -232,7 +232,7 @@ void posix_spawn_file_actions_dump(
|
|||
void posix_spawnattr_dump(FAR posix_spawnattr_t *attr);
|
||||
#else
|
||||
# define posix_spawn_file_actions_dump(fa)
|
||||
# define posix_spawnattr_dump(a)
|
||||
# define posix_spawnattr_dump(attr)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in a new issue