From 4bab8e2d350eb91bc69e3506952870325f2e83cd Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 6 Aug 1996 17:45:12 +0000 Subject: get_errno: no longer needed by gnat runtime --- cpukit/libcsupport/src/newlibc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit') diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index ec76f9c4d3..c4903b343f 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -290,6 +290,7 @@ libc_init(int reentrant) } } +#if 0 /* * Routines required by the gnat runtime. */ @@ -298,6 +299,7 @@ int get_errno() { return errno; } +#endif /* * Function: _exit @@ -373,6 +375,7 @@ int __kill( pid_t pid, int sig ) return 0; } +#if !defined(RTEMS_POSIX_API) unsigned int sleep( unsigned int seconds ) @@ -397,6 +400,7 @@ unsigned int sleep( return 0; } +#endif #endif -- cgit v1.2.3