summaryrefslogtreecommitdiffstats
path: root/linkers
diff options
context:
space:
mode:
authorRyan Long <ryan.long@oarcorp.com>2021-08-05 13:23:20 -0400
committerJoel Sherrill <joel@rtems.org>2021-08-10 17:16:26 -0500
commitf04f5070dd217e0b23d0ca2e99902a3707d34927 (patch)
tree96644b76f4c0c15d746bbf50deb31cf9998d6b04 /linkers
parentGcovData: Convert to C++ (diff)
downloadrtems-tools-f04f5070dd217e0b23d0ca2e99902a3707d34927.tar.bz2
rtems-utils: Change data type definition
Remove typedef of ostream_guard and change datatype of ostream_guards to have the namespace in the variable declarations.
Diffstat (limited to 'linkers')
-rw-r--r--linkers/rtems-exeinfo.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/linkers/rtems-exeinfo.cpp b/linkers/rtems-exeinfo.cpp
index c9bf5b6..caae168 100644
--- a/linkers/rtems-exeinfo.cpp
+++ b/linkers/rtems-exeinfo.cpp
@@ -53,8 +53,6 @@
#define kill(p,s) raise(s)
#endif
-typedef rtems::utils::ostream_guard ostream_guard;
-
namespace rld
{
namespace exeinfo
@@ -369,7 +367,7 @@ namespace rld
*/
rld::strings all_flags;
- ostream_guard old_state( std::cout );
+ ::rtems::utils::ostream_guard old_state( std::cout );
size_t source_max = 0;
@@ -636,7 +634,7 @@ namespace rld
void image::output_tls ()
{
- ostream_guard old_state( std::cout );
+ ::rtems::utils::ostream_guard old_state( std::cout );
symbols::symbol* tls_data_begin = symbols.find_global("_TLS_Data_begin");
symbols::symbol* tls_data_end = symbols.find_global("_TLS_Data_end");