summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-01-05 16:09:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-01-05 16:09:15 +0000
commit97f2e1c26e1d7e524c04949b8b6388be0bfedced (patch)
treef60550bf5b3c403ea52aef5ad724afe43ae4a95b
parent2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-97f2e1c26e1d7e524c04949b8b6388be0bfedced.tar.bz2
2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/src/eventsurrender.c: Remove bogus type casts. * sapi/Makefile.am: Eliminate *_FILES.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/rtems/src/eventsurrender.c4
-rw-r--r--cpukit/sapi/Makefile.am10
3 files changed, 10 insertions, 9 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 4fe9e45d2e..a0728a3b3d 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
+ * rtems/src/eventsurrender.c: Remove bogus type casts.
+ * sapi/Makefile.am: Eliminate *_FILES.
+
+2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>
+
* aclocal/env-rtemscpu.m4: Remove CFLAGS_OPTIMIZE_V.
Remove CPU_CFLAGS.
* aclocal/prog-cc.m4: Don't invoke _RTEMS_FLAGS to set up
diff --git a/cpukit/rtems/src/eventsurrender.c b/cpukit/rtems/src/eventsurrender.c
index 7b2b8ca22a..197d966056 100644
--- a/cpukit/rtems/src/eventsurrender.c
+++ b/cpukit/rtems/src/eventsurrender.c
@@ -64,7 +64,7 @@ void _Event_Surrender(
if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
api->pending_events =
_Event_sets_Clear( pending_events, seized_events );
- (rtems_event_set) the_thread->Wait.count = 0;
+ the_thread->Wait.count = 0;
*(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
_ISR_Flash( level );
@@ -96,7 +96,7 @@ void _Event_Surrender(
if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
api->pending_events =
_Event_sets_Clear( pending_events,seized_events );
- (rtems_event_set) the_thread->Wait.count = 0;
+ the_thread->Wait.count = 0;
*(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
_Event_Sync_state = EVENT_SYNC_SATISFIED;
}
diff --git a/cpukit/sapi/Makefile.am b/cpukit/sapi/Makefile.am
index 73f914d2b8..0598896f31 100644
--- a/cpukit/sapi/Makefile.am
+++ b/cpukit/sapi/Makefile.am
@@ -21,17 +21,13 @@ include_rtems_HEADERS += macros/rtems/extension.inl
endif
## src
-
-EXTENSION_FILES = src/extension.c src/extensioncreate.c \
- src/extensiondelete.c src/extensionident.c
-C_FILES = src/debug.c $(EXTENSION_FILES) src/fatal.c src/exinit.c src/io.c \
- src/itronapi.c src/posixapi.c src/rtemsapi.c
-
AM_CPPFLAGS += -I$(top_builddir)
AM_CPPFLAGS += -D__RTEMS_INSIDE__
noinst_LIBRARIES = libsapi.a
-libsapi_a_SOURCES = $(C_FILES)
+libsapi_a_SOURCES = src/debug.c src/extension.c src/extensioncreate.c \
+ src/extensiondelete.c src/extensionident.c src/fatal.c src/exinit.c \
+ src/io.c src/itronapi.c src/posixapi.c src/rtemsapi.c
libsapi_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
all-local: $(PREINSTALL_FILES)