summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/types.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 16:54:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 16:54:52 +0000
commit613cff6f58129ea3280c763c855e48525e92f1dc (patch)
treee35504fb42cdeb98512ed16729340807085960a4 /c/src/exec/posix/src/types.c
parentadded entry point for posix initialization threads to the posix initialization (diff)
downloadrtems-613cff6f58129ea3280c763c855e48525e92f1dc.tar.bz2
removed all ifdef's on NOT_IMPLEMENTED.
Diffstat (limited to 'c/src/exec/posix/src/types.c')
-rw-r--r--c/src/exec/posix/src/types.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/c/src/exec/posix/src/types.c b/c/src/exec/posix/src/types.c
index f0e5c47740..81a184c81a 100644
--- a/c/src/exec/posix/src/types.c
+++ b/c/src/exec/posix/src/types.c
@@ -16,24 +16,25 @@
int POSIX_MP_NOT_IMPLEMENTED()
{
assert( 0 );
+ return 0;
}
int POSIX_BOTTOM_REACHED()
{
assert( 0 );
+ return 0;
}
int POSIX_NOT_IMPLEMENTED()
{
assert( 0 );
+ return 0;
}
/*
* END OF TEMPORARY
*/
-#ifdef NOT_IMPLEMENTED_YET
-
/*PAGE
*
* 4.1.1 Get Process and Parent Process IDs, P1003.1b-1993, p. 83
@@ -144,7 +145,7 @@ int getgroups(
char *getlogin( void )
{
- return (char *)POSIX_NOT_IMPLEMENTED();
+ return (char *) POSIX_NOT_IMPLEMENTED();
}
/*PAGE
@@ -154,9 +155,12 @@ char *getlogin( void )
* NOTE: P1003.1c/D10, p. 49 adds getlogin_r().
*/
-char *getlogin_r( void )
+int getlogin_r(
+ char *name,
+ size_t namesize
+)
{
- return (char *)POSIX_NOT_IMPLEMENTED();
+ return POSIX_NOT_IMPLEMENTED();
}
/*PAGE
@@ -191,5 +195,3 @@ int setpgid(
{
return POSIX_NOT_IMPLEMENTED();
}
-
-#endif