From 65fd5ae089965630e127828f5f5b4a3634855477 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 13 Sep 2003 03:47:05 +0000 Subject: 2003-09-13 Ralf Corsepius * src/sync.c: Don't undef __STRICT_ANSI__. Use struct _reent (struct reent doesn't exist) --- cpukit/libcsupport/ChangeLog | 5 +++++ cpukit/libcsupport/src/sync.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'cpukit') diff --git a/cpukit/libcsupport/ChangeLog b/cpukit/libcsupport/ChangeLog index c032aa1e41..1e05aecbe8 100644 --- a/cpukit/libcsupport/ChangeLog +++ b/cpukit/libcsupport/ChangeLog @@ -1,3 +1,8 @@ +2003-09-13 Ralf Corsepius + + * src/sync.c: Don't undef __STRICT_ANSI__. + Use struct _reent (struct reent doesn't exist) + 2003-09-13 Ralf Corsepius PR 486/rtems 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 #include @@ -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 -- cgit v1.2.3