diff options
| author | Vladimir Oltean <[email protected]> | 2021-03-22 11:31:48 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-22 20:14:45 +0000 |
| commit | 744b8376632208137fe4acc9967b93e2970732a3 (patch) | |
| tree | 632de721dd2b54608a75e21f146eb39bc6f10ea8 /net/lapb/lapb_in.c | |
| parent | net: make xps_needed and xps_rxqs_needed static (diff) | |
| download | kernel-744b8376632208137fe4acc9967b93e2970732a3.tar.gz kernel-744b8376632208137fe4acc9967b93e2970732a3.zip | |
net: move the ptype_all and ptype_base declarations to include/linux/netdevice.h
ptype_all and ptype_base are declared in net/core/dev.c as non-static,
because they are used by net-procfs.c too. However, a "make W=1" build
complains that there was no previous declaration of ptype_all and
ptype_base in a header file, so this way of declaring things constitutes
a violation of coding style.
Let's move the extern declarations of ptype_all and ptype_base to the
linux/netdevice.h file, which is included by net-procfs.c too.
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
