summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/Makefile.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-02-02 16:57:42 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-02-02 16:57:42 -0600
commit5d44355937fddc26485ac691a4ceba3f1c169ecf (patch)
treea776fae3b49e32ddca1fce59c128e1736c4cf203 /cpukit/rtems/Makefile.am
parentMerge remote branch 'upstream/master' (diff)
downloadrtems-5d44355937fddc26485ac691a4ceba3f1c169ecf.tar.bz2
PR 1991/cpukit - attr.c (really mode code) warning rework
This PR was about a warning for no previous prototype for rtems_interrupt_level_attribute. This method exists (like a few others) to have real bodies for Classic API services implemented as macros. These macros are not available from anything but C and C++. The most explicit use was in the Ada binding but these would be needed from assembly language or any other non-C based language. On top of needing a prototype, the methods were misnamed. They were related to modes. This renames them, moves the file, fixes test code, etc.
Diffstat (limited to 'cpukit/rtems/Makefile.am')
-rw-r--r--cpukit/rtems/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/Makefile.am b/cpukit/rtems/Makefile.am
index 6dc67e03a1..e9f990626e 100644
--- a/cpukit/rtems/Makefile.am
+++ b/cpukit/rtems/Makefile.am
@@ -255,7 +255,7 @@ librtems_a_SOURCES += src/dpmemdata.c
## WORKSPACE_FILES
librtems_a_SOURCES += src/workspace.c
-librtems_a_SOURCES += src/attr.c
+librtems_a_SOURCES += src/modes.c
librtems_a_SOURCES += src/status.c