[applied] abg-comp-filter: Fix declaration of has_harmful_name_change

Message ID 87y0w9wo28.fsf@redhat.com
State New
Headers
Series [applied] abg-comp-filter: Fix declaration of has_harmful_name_change |

Commit Message

Dodji Seketeli April 9, 2025, 11:51 a.m. UTC
  Hello,

While reviewing something else, I noticed that has_harmful_name_change
didn't have the same declaration its definition.  Fixed thus.

	* include/abg-comp-filter.h (has_harmful_name_change): Add the
	missing diff_context_sptr& parameter.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to the mainline.
---
 include/abg-comp-filter.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Patch

diff --git a/include/abg-comp-filter.h b/include/abg-comp-filter.h
index b2d053e8..ad7e9695 100644
--- a/include/abg-comp-filter.h
+++ b/include/abg-comp-filter.h
@@ -32,7 +32,9 @@  has_harmless_name_change(const decl_base_sptr& f,
 bool union_diff_has_harmless_changes(const diff *d);
 
 bool
-has_harmful_name_change(const decl_base_sptr& f, const decl_base_sptr& s);
+has_harmful_name_change(const decl_base_sptr& f,
+			const decl_base_sptr& s,
+			const diff_context_sptr& ctxt);
 
 bool
 has_harmful_name_change(const diff* dif);