summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-09-18 15:18:19 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-18 23:56:44 +0200
commit5f3666e8394580179b81dd90bf8b930efaf5138e (patch)
tree64412474997e4bf6ce81f9ddc206caad33366ddd /net/tipc
parenttipc: Remove unused macro CF_SERVER (diff)
downloadlinux-5f3666e8394580179b81dd90bf8b930efaf5138e.tar.xz
linux-5f3666e8394580179b81dd90bf8b930efaf5138e.zip
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>
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/udp_media.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/udp_media.c b/net/tipc/udp_media.c
index 911d13cd2e67..1d17f4470ee2 100644
--- a/net/tipc/udp_media.c
+++ b/net/tipc/udp_media.c
@@ -52,6 +52,7 @@
#include "bearer.h"
#include "netlink.h"
#include "msg.h"
+#include "udp_media.h"
/* IANA assigned UDP port */
#define UDP_PORT_DEFAULT 6118