Skip to content

Commit

Permalink
ifnet: make if_alloc_domain() static
Browse files Browse the repository at this point in the history
  • Loading branch information
glebius committed Nov 23, 2021
1 parent ce40632 commit 1e3ca25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion sys/net/if.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ if_grow(void)
* common structure will also be allocated if an allocation routine is
* registered for the passed type.
*/
struct ifnet *
static struct ifnet *
if_alloc_domain(u_char type, int numa_domain)
{
struct ifnet *ifp;
Expand Down
1 change: 0 additions & 1 deletion sys/net/if_var.h
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,6 @@ int if_addmulti(struct ifnet *, struct sockaddr *, struct ifmultiaddr **);
int if_allmulti(struct ifnet *, int);
struct ifnet* if_alloc(u_char);
struct ifnet* if_alloc_dev(u_char, device_t dev);
struct ifnet* if_alloc_domain(u_char, int numa_domain);
void if_attach(struct ifnet *);
void if_dead(struct ifnet *);
int if_delmulti(struct ifnet *, struct sockaddr *);
Expand Down

0 comments on commit 1e3ca25

Please sign in to comment.