git: ifconfig(8): Remove unnecessary type casts

Aaron LI aly at crater.dragonflybsd.org
Thu Dec 21 00:54:10 PST 2023


commit 0b22c3cf72966cfa8494bf1a23910de805bcaca3
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Dec 12 16:46:11 2023 +0800

    ifconfig(8): Remove unnecessary type casts

Summary of changes:
 sbin/ifconfig/af_inet.c     |  6 +++---
 sbin/ifconfig/af_inet6.c    |  4 ++--
 sbin/ifconfig/ifcarp.c      | 38 +++++++++++++++++++-------------------
 sbin/ifconfig/ifconfig.c    | 34 ++++++++++++++++------------------
 sbin/ifconfig/ifgroup.c     | 12 ++++++------
 sbin/ifconfig/ifieee80211.c |  4 ++--
 sbin/ifconfig/ifmedia.c     | 30 +++++++++++++++---------------
 sbin/ifconfig/ifvlan.c      | 20 ++++++++++----------
 8 files changed, 73 insertions(+), 75 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0b22c3cf72966cfa8494bf1a23910de805bcaca3


-- 
DragonFly BSD source repository


More information about the Commits mailing list