From b294fd3c8a92a443cd402f43569711c6176fcc68 Mon Sep 17 00:00:00 2001 From: zhangyuan29 Date: Fri, 1 Nov 2024 15:58:32 +0800 Subject: [PATCH] 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 --- libs/libc/unistd/lib_getoptargp.c | 2 -- libs/libc/unistd/lib_getopterrp.c | 2 -- libs/libc/unistd/lib_getoptindp.c | 2 -- libs/libc/unistd/lib_getoptoptp.c | 2 -- 4 files changed, 8 deletions(-) diff --git a/libs/libc/unistd/lib_getoptargp.c b/libs/libc/unistd/lib_getoptargp.c index 000bff36c073f..02ff2a7c3da12 100644 --- a/libs/libc/unistd/lib_getoptargp.c +++ b/libs/libc/unistd/lib_getoptargp.c @@ -26,8 +26,6 @@ #include -#include - #include "unistd.h" /**************************************************************************** diff --git a/libs/libc/unistd/lib_getopterrp.c b/libs/libc/unistd/lib_getopterrp.c index 6feab79175d7d..9d6f5311b75ce 100644 --- a/libs/libc/unistd/lib_getopterrp.c +++ b/libs/libc/unistd/lib_getopterrp.c @@ -26,8 +26,6 @@ #include -#include - #include "unistd.h" /**************************************************************************** diff --git a/libs/libc/unistd/lib_getoptindp.c b/libs/libc/unistd/lib_getoptindp.c index 2a59ac37d4472..596208e4b2272 100644 --- a/libs/libc/unistd/lib_getoptindp.c +++ b/libs/libc/unistd/lib_getoptindp.c @@ -26,8 +26,6 @@ #include -#include - #include "unistd.h" /**************************************************************************** diff --git a/libs/libc/unistd/lib_getoptoptp.c b/libs/libc/unistd/lib_getoptoptp.c index 9a112ee1b4001..fb529330d0db2 100644 --- a/libs/libc/unistd/lib_getoptoptp.c +++ b/libs/libc/unistd/lib_getoptoptp.c @@ -26,8 +26,6 @@ #include -#include - #include "unistd.h" /****************************************************************************