summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-08 03:50:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-08 03:50:17 +0000
commit232d6c1cf1918e72f59f206c0eb8a3b9795e9ab3 (patch)
tree03848f043f673cfbce9039a8b4ff0f865dd879c3
parentAdded commit to indicate exepcted _Thread_Dispatch_disable_level. Hopefully (diff)
downloadrtems-232d6c1cf1918e72f59f206c0eb8a3b9795e9ab3.tar.bz2
Removed getpid from this file and made it its own file. This lets it
get replaced as required.
-rw-r--r--c/src/exec/posix/src/types.c10
-rw-r--r--cpukit/posix/src/types.c10
2 files changed, 0 insertions, 20 deletions
diff --git a/c/src/exec/posix/src/types.c b/c/src/exec/posix/src/types.c
index 6bea1127b6..4386ad5292 100644
--- a/c/src/exec/posix/src/types.c
+++ b/c/src/exec/posix/src/types.c
@@ -22,16 +22,6 @@ gid_t _POSIX_types_Egid = 0;
* 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
*/
-pid_t getpid( void )
-{
- return _Objects_Local_node;
-}
-
-/*PAGE
- *
- * 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
- */
-
pid_t getppid( void )
{
return _POSIX_types_Ppid;
diff --git a/cpukit/posix/src/types.c b/cpukit/posix/src/types.c
index 6bea1127b6..4386ad5292 100644
--- a/cpukit/posix/src/types.c
+++ b/cpukit/posix/src/types.c
@@ -22,16 +22,6 @@ gid_t _POSIX_types_Egid = 0;
* 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
*/
-pid_t getpid( void )
-{
- return _Objects_Local_node;
-}
-
-/*PAGE
- *
- * 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
- */
-
pid_t getppid( void )
{
return _POSIX_types_Ppid;