mirror of
https://github.com/proski/madwifi
synced 2024-11-21 14:01:54 +03:00
Make skb_total_counter and skb_refs_counter static
Both have exported accessor functions, so they should not be accessible directly.
This commit is contained in:
parent
27463c4ea4
commit
3e8afe45d0
@ -84,12 +84,10 @@
|
||||
#undef skb_unshare
|
||||
#undef vlan_hwaccel_rx
|
||||
|
||||
atomic_t skb_total_counter = ATOMIC_INIT(0);
|
||||
EXPORT_SYMBOL(skb_total_counter);
|
||||
static atomic_t skb_total_counter = ATOMIC_INIT(0);
|
||||
|
||||
#ifdef IEEE80211_DEBUG_REFCNT
|
||||
atomic_t skb_refs_counter = ATOMIC_INIT(0);
|
||||
EXPORT_SYMBOL(skb_refs_counter);
|
||||
static atomic_t skb_refs_counter = ATOMIC_INIT(0);
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -29,19 +29,6 @@
|
||||
#ifndef _NET80211_IEEE80211_SKB_H_
|
||||
#define _NET80211_IEEE80211_SKB_H_
|
||||
|
||||
/*******************************************************************************
|
||||
* Globals
|
||||
******************************************************************************/
|
||||
|
||||
#ifdef IEEE80211_DEBUG_REFCNT
|
||||
|
||||
/* Count of currently tracked skbs */
|
||||
extern atomic_t skb_total_counter;
|
||||
/* Count of currently tracked skbs' references */
|
||||
extern atomic_t skb_refs_counter;
|
||||
|
||||
#endif /* #ifdef IEEE80211_DEBUG_REFCNT */
|
||||
|
||||
/*******************************************************************************
|
||||
* Public API
|
||||
******************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user