From b1459dc199ffbaf93c9da017714935d25ac157b5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 22 Aug 1997 19:17:09 +0000 Subject: Moved reentrant wrappers into their own file. --- cpukit/libcsupport/src/newlibc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpukit/libcsupport/src/newlibc.c') diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index ac8b146a48..da50cdeeb5 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -371,18 +371,16 @@ void exit(int status) * These are directly supported (and completely correct) in the posix api. */ -#if !defined(RTEMS_POSIX_API) pid_t __getpid(void) { - return 0; + return getpid(); } -#endif /* #if !defined(RTEMS_POSIX_API) || defined(__GO32__) */ #if !defined(RTEMS_POSIX_API) pid_t getpid(void) { - return __getpid(); + return (0); } #endif -- cgit v1.2.3