From 439fb4cc4c08166dccb85ba202a5762c4c46ba42 Mon Sep 17 00:00:00 2001 From: Aaron Merey Date: Wed, 5 May 2021 15:19:58 -0400 Subject: [PATCH] Make declarations consistent with corresponding definitions Avoid -Wmismatched-tags by ensuring that the use of class/struct in declarations matches use of class/struct in the corresponding definition. --- dwflpp.h | 2 +- loc2stap.h | 2 +- session.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dwflpp.h b/dwflpp.h index d31ceae0c..8ba0c4f5f 100644 --- a/dwflpp.h +++ b/dwflpp.h @@ -182,7 +182,7 @@ struct inline_instance_info : base_func_info }; struct location; -struct location_context; +class location_context; struct dwflpp { diff --git a/loc2stap.h b/loc2stap.h index 818314bb2..df60571a2 100644 --- a/loc2stap.h +++ b/loc2stap.h @@ -41,7 +41,7 @@ struct location { } }; -class dwflpp; +struct dwflpp; class location_context { public: diff --git a/session.h b/session.h index c2c6fbaad..a714d7d51 100644 --- a/session.h +++ b/session.h @@ -123,7 +123,7 @@ struct parse_error: public std::runtime_error }; -class symresolution_info; +struct symresolution_info; struct systemtap_session { -- 2.43.5