diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2012-10-19 05:43:38 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2012-10-19 05:43:38 +0000 |
| commit | ae824d80f28cd14c0c0ec75076c796e6a369bc18 (patch) | |
| tree | 4ffbcf3b1f945e0ae5715cc8c2500ff622b14872 /sbin/etherswitchcfg | |
| parent | 8241616dc534f6cf0c95abe6b61bc2bb0378fc91 (diff) | |
Notes
Diffstat (limited to 'sbin/etherswitchcfg')
| -rw-r--r-- | sbin/etherswitchcfg/etherswitchcfg.c | 4 | ||||
| -rw-r--r-- | sbin/etherswitchcfg/ifmedia.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/etherswitchcfg/etherswitchcfg.c b/sbin/etherswitchcfg/etherswitchcfg.c index e6129f3e4ad3..ea2cec8bd7e7 100644 --- a/sbin/etherswitchcfg/etherswitchcfg.c +++ b/sbin/etherswitchcfg/etherswitchcfg.c @@ -79,7 +79,7 @@ struct cmds { int args; void (*f)(struct cfg *, char *argv[]); }; -struct cmds cmds[]; +static struct cmds cmds[]; static void usage(void); @@ -501,7 +501,7 @@ main(int argc, char *argv[]) return (0); } -struct cmds cmds[] = { +static struct cmds cmds[] = { { MODE_PORT, "vlangroup", 1, set_port_vlangroup }, { MODE_PORT, "media", 1, set_port_media }, { MODE_PORT, "mediaopt", 1, set_port_mediaopt }, diff --git a/sbin/etherswitchcfg/ifmedia.c b/sbin/etherswitchcfg/ifmedia.c index 258c3d5b9ed3..b9bd3b9c56ff 100644 --- a/sbin/etherswitchcfg/ifmedia.c +++ b/sbin/etherswitchcfg/ifmedia.c @@ -396,10 +396,10 @@ static struct ifmedia_description ifm_subtype_ieee80211_aliases[] = static struct ifmedia_description ifm_subtype_ieee80211_option_descriptions[] = IFM_SUBTYPE_IEEE80211_OPTION_DESCRIPTIONS; -struct ifmedia_description ifm_subtype_ieee80211_mode_descriptions[] = +static struct ifmedia_description ifm_subtype_ieee80211_mode_descriptions[] = IFM_SUBTYPE_IEEE80211_MODE_DESCRIPTIONS; -struct ifmedia_description ifm_subtype_ieee80211_mode_aliases[] = +static struct ifmedia_description ifm_subtype_ieee80211_mode_aliases[] = IFM_SUBTYPE_IEEE80211_MODE_ALIASES; static struct ifmedia_description ifm_subtype_atm_descriptions[] = |
