diff options
| author | Andreas Bofjäll <andreas.bofjall@ericsson.com> | 2014-02-12 03:34:18 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-02-13 17:49:13 -0500 |
| commit | b3f0f5c357e60b7a366d2c8d739b47452451868b (patch) | |
| tree | 5dbb1483c23df168188bf272819c5eb130dc3b3f | |
| parent | c313c89edb93eeac0646dcc6d6cb7fb404d4056d (diff) | |
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>
| -rw-r--r-- | net/tipc/addr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/tipc/addr.h b/net/tipc/addr.h index 60b00ab93d74..a74acf9ee804 100644 --- a/net/tipc/addr.h +++ b/net/tipc/addr.h | |||
| @@ -37,6 +37,8 @@ | |||
| 37 | #ifndef _TIPC_ADDR_H | 37 | #ifndef _TIPC_ADDR_H |
| 38 | #define _TIPC_ADDR_H | 38 | #define _TIPC_ADDR_H |
| 39 | 39 | ||
| 40 | #include "core.h" | ||
| 41 | |||
| 40 | #define TIPC_ZONE_MASK 0xff000000u | 42 | #define TIPC_ZONE_MASK 0xff000000u |
| 41 | #define TIPC_CLUSTER_MASK 0xfffff000u | 43 | #define TIPC_CLUSTER_MASK 0xfffff000u |
| 42 | 44 | ||
