]> git.baikalelectronics.ru Git - kernel.git/commit
tcp_memcontrol: Forward declare cgroup_subsys and mem_cgroup stucts
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 17 Jan 2016 10:30:37 +0000 (11:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jan 2016 17:02:37 +0000 (12:02 -0500)
commit6e5b57ee500d467d5a9896417780d3e7ccf5aa9b
tree8107960cc70708011eb45eba9b1030d72f53984b
parent6e825a41924261a59b8da9fc86a5ee6352d0bfb0
tcp_memcontrol: Forward declare cgroup_subsys and mem_cgroup stucts

In file included from net/ipv4/tcp_ipv4.c:77 (and many more):
include/net/tcp_memcontrol.h:5: warning: ‘struct cgroup_subsys’ declared inside parameter list
include/net/tcp_memcontrol.h:5: warning: its scope is only this definition or declaration, which is probably not what you want

Add forward declarations for all used structures to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp_memcontrol.h