summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/sync.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-09-13 03:47:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-09-13 03:47:05 +0000
commit65fd5ae089965630e127828f5f5b4a3634855477 (patch)
tree012098c755b07a01c46a62bcc9a879e24663c9f1 /cpukit/libcsupport/src/sync.c
parent2003-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-65fd5ae089965630e127828f5f5b4a3634855477.tar.bz2
2003-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/sync.c: Don't undef __STRICT_ANSI__. Use struct _reent (struct reent doesn't exist)
Diffstat (limited to '')
-rw-r--r--cpukit/libcsupport/src/sync.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcsupport/src/sync.c
index 1f6cad6406..4d317ce0b1 100644
--- a/cpukit/libcsupport/src/sync.c
+++ b/cpukit/libcsupport/src/sync.c
@@ -21,10 +21,6 @@
#include "config.h"
#endif
-/* this is needed to get the fileno() prototype */
-#if defined(__STRICT_ANSI__)
-#undef __STRICT_ANSI__
-#endif
#include <unistd.h>
#include <stdio.h>
@@ -50,7 +46,7 @@ static void sync_wrapper(FILE *f)
/* iterate over all FILE *'s for this thread */
static void sync_per_thread(Thread_Control *t)
{
- struct reent *current_reent;
+ struct _reent *current_reent;
/*
* The sync_wrapper() function will operate on the current thread's