diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-30 03:55:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:54 -0400 |
commit | 735643ee6cc5249bfac07fcad0946a5e7aff4423 (patch) | |
tree | e725df246f4a3cf88b6b42a28d859ab969acf81c /include/linux/inet.h | |
parent | 71cc2c2152170b8166f59abb0604dc62073aeb92 (diff) |
Remove "#ifdef __KERNEL__" checks from unexported headers
Remove the "#ifdef __KERNEL__" tests from unexported header files in
linux/include whose entire contents are wrapped in that preprocessor
test.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/inet.h')
-rw-r--r-- | include/linux/inet.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/inet.h b/include/linux/inet.h index 675a7dbe86f8..1354080cf8cf 100644 --- a/include/linux/inet.h +++ b/include/linux/inet.h | |||
@@ -42,11 +42,9 @@ | |||
42 | #ifndef _LINUX_INET_H | 42 | #ifndef _LINUX_INET_H |
43 | #define _LINUX_INET_H | 43 | #define _LINUX_INET_H |
44 | 44 | ||
45 | #ifdef __KERNEL__ | ||
46 | #include <linux/types.h> | 45 | #include <linux/types.h> |
47 | 46 | ||
48 | extern __be32 in_aton(const char *str); | 47 | extern __be32 in_aton(const char *str); |
49 | extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); | 48 | extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); |
50 | extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); | 49 | extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); |
51 | #endif | ||
52 | #endif /* _LINUX_INET_H */ | 50 | #endif /* _LINUX_INET_H */ |