From 965f7641fd2c3911f64619c34e0705684e0b5fa6 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 17 Dec 2021 02:57:31 +0800 Subject: [PATCH] sched: Remove the condition guard from getppid prototype Signed-off-by: Xiang Xiao --- include/unistd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/unistd.h b/include/unistd.h index d6092e1f22..02e62d2409 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -302,9 +302,7 @@ extern "C" pid_t vfork(void); pid_t getpid(void); pid_t gettid(void); -#ifdef CONFIG_SCHED_HAVE_PARENT pid_t getppid(void); -#endif void _exit(int status) noreturn_function; unsigned int sleep(unsigned int seconds); int usleep(useconds_t usec);