libc/unistd: fixed tasking build issue

CC:  pthread/pthread_mutexattr_getrobust.c artc I800: creating archive libsched.a
CC:  unistd/lib_getopterrp.c ctc W505: ["unistd/lib_getoptargp.c" 48/29] implicit declaration of function "getoptvars"
ctc W577: ["unistd/lib_getoptargp.c" 48/39] calling a function without a prototype
ctc W524: ["unistd/lib_getoptargp.c" 48/27] conversion of integer to pointer at assignment
ctc E212: ["unistd/lib_getoptargp.c" 49/13] access to incomplete type
ctc W523: ["unistd/lib_getoptargp.c" 49/13] pointers to different types at return

Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
This commit is contained in:
zhangyuan29 2024-11-01 15:58:32 +08:00 committed by Xiang Xiao
parent d13dc86f16
commit b294fd3c8a
4 changed files with 0 additions and 8 deletions

View file

@ -26,8 +26,6 @@
#include <nuttx/config.h>
#include <unistd.h>
#include "unistd.h"
/****************************************************************************

View file

@ -26,8 +26,6 @@
#include <nuttx/config.h>
#include <unistd.h>
#include "unistd.h"
/****************************************************************************

View file

@ -26,8 +26,6 @@
#include <nuttx/config.h>
#include <unistd.h>
#include "unistd.h"
/****************************************************************************

View file

@ -26,8 +26,6 @@
#include <nuttx/config.h>
#include <unistd.h>
#include "unistd.h"
/****************************************************************************