git: net/radix: Update rn_inithead() parameter type to avoid boring casts

Aaron LI aly at crater.dragonflybsd.org
Wed Nov 15 17:42:21 PST 2023


commit 6823c302c37b3feda6c2c8b524a99daa1bcff11f
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Nov 15 13:05:56 2023 +0800

    net/radix: Update rn_inithead() parameter type to avoid boring casts
    
    Change to use the proper 'struct radix_node_head **' instead of an
    opaque 'void **'.

Summary of changes:
 sbin/routed/table.c                |  2 +-
 sys/kern/vfs_subr.c                |  6 +++---
 sys/net/ipfw/ip_fw2.c              |  4 ++--
 sys/net/ipfw3_basic/ip_fw3_table.c |  8 ++++----
 sys/net/pf/pf_ioctl.c              |  2 +-
 sys/net/pf/pf_table.c              |  8 ++++----
 sys/net/radix.c                    |  7 ++++---
 sys/net/radix.h                    |  2 +-
 sys/netinet/in_rmx.c               |  7 ++++---
 sys/netinet6/in6_rmx.c             |  7 ++++---
 sys/netproto/mpls/mpls_proto.c     | 11 ++++++++++-
 11 files changed, 38 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6823c302c37b3feda6c2c8b524a99daa1bcff11f


-- 
DragonFly BSD source repository


More information about the Commits mailing list