diff options
-rw-r--r-- | c/src/exec/libcsupport/src/newlibc.c | 14 | ||||
-rw-r--r-- | c/src/lib/libc/newlibc.c | 14 | ||||
-rw-r--r-- | cpukit/libcsupport/src/newlibc.c | 14 |
3 files changed, 39 insertions, 3 deletions
diff --git a/c/src/exec/libcsupport/src/newlibc.c b/c/src/exec/libcsupport/src/newlibc.c index bea592a46e..0c175b738e 100644 --- a/c/src/exec/libcsupport/src/newlibc.c +++ b/c/src/exec/libcsupport/src/newlibc.c @@ -391,7 +391,14 @@ pid_t __getpid(void) #if !defined(RTEMS_POSIX_API) pid_t getpid(void) { - return (0); + return 0; +} + +pid_t _getpid_r( + struct _reent *ptr +) +{ + return getpid(); } #endif @@ -401,6 +408,11 @@ int kill( pid_t pid, int sig ) { return 0; } + +int _kill_r( pid_t pid, int sig ) +{ + return 0; +} #endif int __kill( pid_t pid, int sig ) diff --git a/c/src/lib/libc/newlibc.c b/c/src/lib/libc/newlibc.c index bea592a46e..0c175b738e 100644 --- a/c/src/lib/libc/newlibc.c +++ b/c/src/lib/libc/newlibc.c @@ -391,7 +391,14 @@ pid_t __getpid(void) #if !defined(RTEMS_POSIX_API) pid_t getpid(void) { - return (0); + return 0; +} + +pid_t _getpid_r( + struct _reent *ptr +) +{ + return getpid(); } #endif @@ -401,6 +408,11 @@ int kill( pid_t pid, int sig ) { return 0; } + +int _kill_r( pid_t pid, int sig ) +{ + return 0; +} #endif int __kill( pid_t pid, int sig ) diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index bea592a46e..0c175b738e 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -391,7 +391,14 @@ pid_t __getpid(void) #if !defined(RTEMS_POSIX_API) pid_t getpid(void) { - return (0); + return 0; +} + +pid_t _getpid_r( + struct _reent *ptr +) +{ + return getpid(); } #endif @@ -401,6 +408,11 @@ int kill( pid_t pid, int sig ) { return 0; } + +int _kill_r( pid_t pid, int sig ) +{ + return 0; +} #endif int __kill( pid_t pid, int sig ) |