sched: Remove the condition guard from getppid prototype

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-12-17 02:57:31 +08:00 committed by Gustavo Henrique Nihei
parent 4262b09cbf
commit 965f7641fd

View File

@ -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);