This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 965f7641fd2c3911f64619c34e0705684e0b5fa6
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Fri Dec 17 02:57:31 2021 +0800

    sched: Remove the condition guard from getppid prototype
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 include/unistd.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/unistd.h b/include/unistd.h
index d6092e1..02e62d2 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);

Reply via email to