Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3f0f5c3 authored by Andreas Bofjäll's avatar Andreas Bofjäll Committed by David S. Miller
Browse files

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: default avatarAndreas Bofjäll <andreas.bofjall@ericsson.com>
Reviewed-by: default avatarJon Maloy <jon.maloy@ericsson.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c313c89e
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -37,6 +37,8 @@
#ifndef _TIPC_ADDR_H
#ifndef _TIPC_ADDR_H
#define _TIPC_ADDR_H
#define _TIPC_ADDR_H


#include "core.h"

#define TIPC_ZONE_MASK		0xff000000u
#define TIPC_ZONE_MASK		0xff000000u
#define TIPC_CLUSTER_MASK	0xfffff000u
#define TIPC_CLUSTER_MASK	0xfffff000u