diff options
author | Kuan-Wei Chiu <visitorckw@gmail.com> | 2024-03-05 23:02:19 +0800 |
---|---|---|
committer | Kuan-Wei Chiu <visitorckw@gmail.com> | 2024-04-25 21:31:03 +0800 |
commit | 156c8066a998aba49dc7d0d5469caa28578586f5 (patch) | |
tree | 977d27ba9a68c82fc4ab05ea03c8231c4470010d /net/unix/sysctl_net_unix.c | |
parent | 19f7efb34acad5d3c899889f57a0158f93124e54 (diff) |
lib min_heap: Add args for min_heap_callbacks
Add a third parameter 'args' for the 'less' and 'swp' functions in the
'struct min_heap_callbacks'. This additional parameter allows these
comparison and swap functions to handle extra arguments when necessary.
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions