]> git.baikalelectronics.ru Git - kernel.git/commit
net: tipc: Supply missing udp_media.h include file
authorWang Hai <wanghai38@huawei.com>
Fri, 18 Sep 2020 13:18:19 +0000 (21:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2020 21:56:44 +0000 (14:56 -0700)
commitcf2b029dc1617f5b97da1f4a2d7a122de510aa7a
tree64412474997e4bf6ce81f9ddc206caad33366ddd
parent71bd0a8c4a9d68a924bee7bee42040eb4639e271
net: tipc: Supply missing udp_media.h include file

If the header file containing a function's prototype isn't included by
the sourcefile containing the associated function, the build system
complains of missing prototypes.

Fixes the following W=1 kernel build warning(s):

net/tipc/udp_media.c:446:5: warning: no previous prototype for ‘tipc_udp_nl_dump_remoteip’ [-Wmissing-prototypes]
net/tipc/udp_media.c:532:5: warning: no previous prototype for ‘tipc_udp_nl_add_bearer_data’ [-Wmissing-prototypes]
net/tipc/udp_media.c:614:5: warning: no previous prototype for ‘tipc_udp_nl_bearer_add’ [-Wmissing-prototypes]

Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/udp_media.c