sched: Remove the condition guard from getppid prototype
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
4262b09cbf
commit
965f7641fd
@ -302,9 +302,7 @@ extern "C"
|
|||||||
pid_t vfork(void);
|
pid_t vfork(void);
|
||||||
pid_t getpid(void);
|
pid_t getpid(void);
|
||||||
pid_t gettid(void);
|
pid_t gettid(void);
|
||||||
#ifdef CONFIG_SCHED_HAVE_PARENT
|
|
||||||
pid_t getppid(void);
|
pid_t getppid(void);
|
||||||
#endif
|
|
||||||
void _exit(int status) noreturn_function;
|
void _exit(int status) noreturn_function;
|
||||||
unsigned int sleep(unsigned int seconds);
|
unsigned int sleep(unsigned int seconds);
|
||||||
int usleep(useconds_t usec);
|
int usleep(useconds_t usec);
|
||||||
|
Loading…
Reference in New Issue
Block a user