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

Dodji Seketeli dodji@redhat.com
Wed Apr 9 11:51:11 GMT 2025


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(-)

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);
-- 
2.43.5


-- 
		Dodji



More information about the Libabigail mailing list