]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: explicitly include core.h in addr.h
authorAndreas Bofjäll <andreas.bofjall@ericsson.com>
Wed, 12 Feb 2014 08:34:18 +0000 (09:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Feb 2014 22:49:13 +0000 (17:49 -0500)
commit6e0cc8d692e17807fc247c1860fe3bb2568fa9d2
tree5dbb1483c23df168188bf272819c5eb130dc3b3f
parent3e83a9ee28ee5cd94ea6e27bb82f1c84e1866b26
tipc: explicitly include core.h in addr.h

The inline functions in addr.h uses tipc_own_addr which is exported by
core.h, but addr.h never actually includes it. It works because it is
explicitly included where this is used, but it looks a bit strange.

Include core.h in addr.h explicitly to make the dependency clearer.

Signed-off-by: Andreas Bofjäll <andreas.bofjall@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/addr.h