git: ifconfig(8): Rename global 'name' to 'IfName' to avoid shadowing
Aaron LI
aly at crater.dragonflybsd.org
Thu Dec 21 00:54:11 PST 2023
commit 7203d4e3b21e5348250ac409d97d569f2d0b3008
Author: Aaron LI <aly at aaronly.me>
Date: Tue Dec 12 17:57:59 2023 +0800
ifconfig(8): Rename global 'name' to 'IfName' to avoid shadowing
Fix warnings of shadowed declarations with the parameter of some
functions.
Summary of changes:
sbin/ifconfig/af_inet.c | 4 ++--
sbin/ifconfig/af_inet6.c | 8 +++----
sbin/ifconfig/ifbridge.c | 2 +-
sbin/ifconfig/ifcarp.c | 2 +-
sbin/ifconfig/ifclone.c | 9 ++++----
sbin/ifconfig/ifconfig.c | 55 ++++++++++++++++++++++++---------------------
sbin/ifconfig/ifconfig.h | 2 +-
sbin/ifconfig/ifgroup.c | 6 ++---
sbin/ifconfig/ifieee80211.c | 24 ++++++++++----------
sbin/ifconfig/iflagg.c | 18 +++++++--------
sbin/ifconfig/ifmedia.c | 14 ++++++------
11 files changed, 74 insertions(+), 70 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7203d4e3b21e5348250ac409d97d569f2d0b3008
--
DragonFly BSD source repository
More information about the Commits
mailing list