diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-08-18 07:31:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-08-18 07:31:32 +0000 |
commit | c5f52e9725745b0cd81e3b2b4881fc2360f830ec (patch) | |
tree | 1db87a69b5067c144aa105f34199b133a15fcfa9 /cpukit/libcsupport/src/no_posix.c | |
parent | 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-c5f52e9725745b0cd81e3b2b4881fc2360f830ec.tar.bz2 |
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 449/rtems:
* src/getegid.c: New (Copied from ../posix/src).
* src/geteuid.c: New (Copied from ../posix/src).
* src/getgid.c: New (Copied from ../posix/src).
* src/getgroups.c: New (Copied from ../posix/src).
* src/getlogin.c: New (Copied from ../posix/src).
* src/getpgrp.c: New (Copied from ../posix/src).
* src/getpid.c: New (Copied from ../posix/src).
* src/getppid.c: New (Copied from ../posix/src).
* src/getuid.c: New (Copied from ../posix/src).
* src/setpgid.c: New (Copied from ../posix/src).
* src/setsid.c: New (Copied from ../posix/src).
* src/no_posix: Remove getpid and _getpid_r.
* Makefile.am: Reflect changes above.
Diffstat (limited to 'cpukit/libcsupport/src/no_posix.c')
-rw-r--r-- | cpukit/libcsupport/src/no_posix.c | 21 |
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; |