mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
net/if_dl.h: add param names in prototypes
previously these _KERNEL functions were inconsistent, with some having parameter names and some not. fix this by giving them all names, per style(9). Reviewed by: thj, des Approved by: des (mentor) Differential Revision: https://reviews.freebsd.org/D50219 (cherry picked from commit 8c7d193e3cbe3d1c9a7f7869f1748bebefabaccf)
This commit is contained in:
parent
61d8c1ba48
commit
f28c22e803
1 changed files with 3 additions and 2 deletions
|
|
@ -76,9 +76,10 @@ struct sockaddr_dl {
|
|||
#ifdef _KERNEL
|
||||
|
||||
struct ifnet;
|
||||
struct sockaddr_dl *link_alloc_sdl(size_t, int);
|
||||
struct sockaddr_dl *link_alloc_sdl(size_t size, int flags);
|
||||
void link_free_sdl(struct sockaddr *sa);
|
||||
struct sockaddr_dl *link_init_sdl(struct ifnet *, struct sockaddr *, u_char);
|
||||
struct sockaddr_dl *link_init_sdl(struct ifnet *ifp, struct sockaddr *paddr,
|
||||
u_char iftypes);
|
||||
|
||||
#else /* !_KERNEL */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue