2005-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>

* rtems/src/eventsurrender.c: Remove bogus type casts.
	* sapi/Makefile.am: Eliminate *_FILES.
This commit is contained in:
Ralf Corsepius
2005-01-05 16:09:15 +00:00
parent 7ddfdb25e4
commit 97f2e1c26e
3 changed files with 10 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
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.

View File

@@ -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;
}

View File

@@ -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)