[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1391525361-31839-1-git-send-email-andreas.bofjall@ericsson.com>
Date: Tue, 4 Feb 2014 15:49:21 +0100
From: <andreas.bofjall@...csson.com>
To: <netdev@...r.kernel.org>
CC: <tipc-discussion@...ts.sourceforge.net>, <maloy@...jonn.com>,
Andreas Bofjäll <andreas.bofjall@...csson.com>
Subject: [PATCH net-next] tipc: explicitly include core.h in addr.h
From: Andreas Bofjäll <andreas.bofjall@...csson.com>
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@...csson.com>
Reviewed-by: Jon Maloy <jon.maloy@...csson.com>
---
net/tipc/addr.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/tipc/addr.h b/net/tipc/addr.h
index 60b00ab..a74acf9 100644
--- a/net/tipc/addr.h
+++ b/net/tipc/addr.h
@@ -37,6 +37,8 @@
#ifndef _TIPC_ADDR_H
#define _TIPC_ADDR_H
+#include "core.h"
+
#define TIPC_ZONE_MASK 0xff000000u
#define TIPC_CLUSTER_MASK 0xfffff000u
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists