diff options
author | glebius <glebius@FreeBSD.org> | 2014-09-18 10:01:56 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-09-18 10:01:56 +0000 |
commit | bf71125f67007cbce166cbf5bb6459ec0bbf5770 (patch) | |
tree | b1e18fbe026b3a8c5fb2b9c66b8bca796d8f44ab /sys/net/if_var.h | |
parent | f76e492f6dfbd579c3522f6e324fde5b1c468b40 (diff) | |
download | FreeBSD-src-bf71125f67007cbce166cbf5bb6459ec0bbf5770.zip FreeBSD-src-bf71125f67007cbce166cbf5bb6459ec0bbf5770.tar.gz |
While not too late rename if_get_counter_compat() to if_get_counter_default().
The compat counters will go away, but the function will remain in its place,
and in all places where it is going to be called.
Discussed with: melifaro
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r-- | sys/net/if_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 9490631..0ec1322 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -527,7 +527,7 @@ typedef void if_com_free_t(void *com, u_char type); void if_register_com_alloc(u_char type, if_com_alloc_t *a, if_com_free_t *f); void if_deregister_com_alloc(u_char type); void if_data_copy(struct ifnet *, struct if_data *); -uint64_t if_get_counter_compat(struct ifnet *, ifnet_counter); +uint64_t if_get_counter_default(struct ifnet *, ifnet_counter); void if_inc_counter(struct ifnet *, ifnet_counter, int64_t); #define IF_LLADDR(ifp) \ |