bridge: Make the ioctl table local to if_bridge.c
No functional change intended. MFC after: 1 week Sponsored by: Klara, Inc.
This commit is contained in:
parent
7bb441c866
commit
3bc099eb71
@ -478,7 +478,7 @@ struct bridge_control {
|
||||
#define BC_F_COPYOUT 0x02 /* copy arguments out */
|
||||
#define BC_F_SUSER 0x04 /* do super-user check */
|
||||
|
||||
const struct bridge_control bridge_control_table[] = {
|
||||
static const struct bridge_control bridge_control_table[] = {
|
||||
{ bridge_ioctl_add, sizeof(struct ifbreq),
|
||||
BC_F_COPYIN|BC_F_SUSER },
|
||||
{ bridge_ioctl_del, sizeof(struct ifbreq),
|
||||
@ -563,7 +563,7 @@ const struct bridge_control bridge_control_table[] = {
|
||||
BC_F_COPYIN|BC_F_SUSER },
|
||||
|
||||
};
|
||||
const int bridge_control_table_size = nitems(bridge_control_table);
|
||||
static const int bridge_control_table_size = nitems(bridge_control_table);
|
||||
|
||||
VNET_DEFINE_STATIC(LIST_HEAD(, bridge_softc), bridge_list);
|
||||
#define V_bridge_list VNET(bridge_list)
|
||||
|
Loading…
Reference in New Issue
Block a user