From f04f5070dd217e0b23d0ca2e99902a3707d34927 Mon Sep 17 00:00:00 2001 From: Ryan Long Date: Thu, 5 Aug 2021 13:23:20 -0400 Subject: 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. --- linkers/rtems-exeinfo.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'linkers') 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"); -- cgit v1.2.3