diff options
author | Ed Schouten <ed@FreeBSD.org> | 2011-11-07 15:43:11 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2011-11-07 15:43:11 +0000 |
commit | 6472ac3d8a86336899b6cfb789a4cd9897e3fab5 (patch) | |
tree | bf1175813c8ae55dc563480a7eadad2ffae50256 /sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c | |
parent | 37c1ff48a96739fe34d68a6602b70f2dca23920b (diff) |
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.
The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.
Notes
Notes:
svn path=/head/; revision=227309
Diffstat (limited to 'sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c')
-rw-r--r-- | sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c index cf4718a617e1..df189130fb6d 100644 --- a/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c +++ b/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c @@ -123,7 +123,7 @@ static int ng_btsocket_hci_raw_curpps; /* Sysctl tree */ SYSCTL_DECL(_net_bluetooth_hci_sockets); -SYSCTL_NODE(_net_bluetooth_hci_sockets, OID_AUTO, raw, CTLFLAG_RW, +static SYSCTL_NODE(_net_bluetooth_hci_sockets, OID_AUTO, raw, CTLFLAG_RW, 0, "Bluetooth raw HCI sockets family"); SYSCTL_UINT(_net_bluetooth_hci_sockets_raw, OID_AUTO, debug_level, CTLFLAG_RW, &ng_btsocket_hci_raw_debug_level, NG_BTSOCKET_WARN_LEVEL, |