aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/declextract
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/declextract')
-rw-r--r--pkg/declextract/entity.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/declextract/entity.go b/pkg/declextract/entity.go
index bd8f143d1..3b5e13a6d 100644
--- a/pkg/declextract/entity.go
+++ b/pkg/declextract/entity.go
@@ -241,7 +241,7 @@ func (out *Output) Merge(other *Output) {
out.NetlinkPolicies = append(out.NetlinkPolicies, other.NetlinkPolicies...)
}
-func (out *Output) SortAndDedup() {
+func (out *Output) Finalize(v *clangtool.Verifier) {
out.Functions = clangtool.SortAndDedupSlice(out.Functions)
out.Consts = clangtool.SortAndDedupSlice(out.Consts)
out.Enums = clangtool.SortAndDedupSlice(out.Enums)