summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/newlibc.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-29 15:54:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-29 15:54:31 +0000
commitaea06ed44302c204a137067f5c8c57ce6ff1e7c4 (patch)
tree34380945a34f90be27ef63571d62be527af8ffae /cpukit/libcsupport/src/newlibc.c
parentnew file explaining issues related to this bsp. (diff)
downloadrtems-aea06ed44302c204a137067f5c8c57ce6ff1e7c4.tar.bz2
Modifications to make go32 build using new i386-go32-rtems toolset
and gcc 2.8.x -specs options.
Diffstat (limited to 'cpukit/libcsupport/src/newlibc.c')
-rw-r--r--cpukit/libcsupport/src/newlibc.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c
index bd2d7133ed..af3023fac2 100644
--- a/cpukit/libcsupport/src/newlibc.c
+++ b/cpukit/libcsupport/src/newlibc.c
@@ -349,7 +349,8 @@ int get_errno()
#include <stdio.h>
-#if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K)
+/* #if !defined(RTEMS_UNIX) && !defined(__GO32__) && !defined(_AM29K) */
+#if !defined(RTEMS_UNIX) && !defined(_AM29K)
void _exit(int status)
{
rtems_shutdown_executive(status);
@@ -376,14 +377,16 @@ pid_t __getpid(void)
}
#endif
-#if !defined(RTEMS_POSIX_API) || defined(__GO32__)
+/* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */
+#if !defined(RTEMS_POSIX_API)
pid_t getpid(void)
{
return __getpid();
}
#endif
-#if !defined(RTEMS_POSIX_API) || defined(__GO32__)
+/* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */
+#if !defined(RTEMS_POSIX_API)
int kill( pid_t pid, int sig )
{
return 0;