summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/no_posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/no_posix.c')
-rw-r--r--cpukit/libcsupport/src/no_posix.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/cpukit/libcsupport/src/no_posix.c b/cpukit/libcsupport/src/no_posix.c
index fee2e96de0..857f6b23a0 100644
--- a/cpukit/libcsupport/src/no_posix.c
+++ b/cpukit/libcsupport/src/no_posix.c
@@ -2,8 +2,6 @@
* Marginal implementations of some POSIX API routines
* to be used when POSIX is disabled.
*
- * + getpid
- * + _getpid_r
* + kill
* + _kill_r
* + __kill
@@ -29,25 +27,6 @@
*/
#if !defined(RTEMS_POSIX_API)
-pid_t getpid(void)
-{
- return 0;
-}
-
-#if defined(RTEMS_NEWLIB)
-#include <reent.h>
-
-pid_t _getpid_r(
- struct _reent *ptr
-)
-{
- return getpid();
-}
-#endif
-
-#endif
-
-#if !defined(RTEMS_POSIX_API)
int kill( pid_t pid, int sig )
{
return 0;