summaryrefslogtreecommitdiff
path: root/include/linux/in6.h
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-02 21:40:58 +0530
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-02 21:40:58 +0530
commit25d00fddf8d23234da2d45c051a14450939496d6 (patch)
treef2b2e9fd6cb54f45edacf47eaa1d6404b752e856 /include/linux/in6.h
parent7e7f4eae28711fbb7f4d5e4b0aa3195776194bc1 (diff)
headers_check fix: linux/in6.h
fix the following 'make headers_check' warnings: usr/include/linux/in6.h:47: extern's make no sense in userspace usr/include/linux/in6.h:49: extern's make no sense in userspace Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Diffstat (limited to 'include/linux/in6.h')
-rw-r--r--include/linux/in6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/in6.h b/include/linux/in6.h
index bc492048c349..718bf21c5754 100644
--- a/include/linux/in6.h
+++ b/include/linux/in6.h
@@ -44,11 +44,11 @@ struct in6_addr
* NOTE: Be aware the IN6ADDR_* constants and in6addr_* externals are defined
* in network byte order, not in host byte order as are the IPv4 equivalents
*/
+#ifdef __KERNEL__
extern const struct in6_addr in6addr_any;
#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
extern const struct in6_addr in6addr_loopback;
#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
-#ifdef __KERNEL__
extern const struct in6_addr in6addr_linklocal_allnodes;
#define IN6ADDR_LINKLOCAL_ALLNODES_INIT \
{ { { 0xff,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }