summaryrefslogtreecommitdiffstats
path: root/rtemstoolkit/rld-rap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rtemstoolkit/rld-rap.cpp')
-rw-r--r--rtemstoolkit/rld-rap.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/rtemstoolkit/rld-rap.cpp b/rtemstoolkit/rld-rap.cpp
index 93ffbdc..045536a 100644
--- a/rtemstoolkit/rld-rap.cpp
+++ b/rtemstoolkit/rld-rap.cpp
@@ -696,8 +696,7 @@ namespace rld
* Helper for for_each to merge the related object sections into the RAP
* section.
*/
- class section_merge:
- public std::unary_function < const files::section, void >
+ class section_merge
{
public:
@@ -1191,8 +1190,7 @@ namespace rld
/**
* Helper for for_each to write out the various sections.
*/
- class section_writer:
- public std::unary_function < object, void >
+ class section_writer
{
public:
@@ -1364,8 +1362,6 @@ namespace rld
void
image::write_relocations (compress::compressor& comp)
{
- uint32_t rr = 0;
-
for (int s = 0; s < rap_secs; ++s)
{
uint32_t count = get_relocations (s);
@@ -1515,7 +1511,6 @@ namespace rld
++rc;
++sr;
- ++rr;
}
}
}