diff options
author | David Howells <dhowells@redhat.com> | 2007-04-27 18:31:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-27 18:31:24 -0400 |
commit | b8b8fd2dc23725fba77f66b3fef11b11f983fc08 (patch) | |
tree | 2672274acf707cabaa490980db8e429de0b3b1c8 /include/net/wext.h | |
parent | b1bdb691c3c38b4fbaf99fa8474f5cfa99b2d774 (diff) |
[NET]: Fix networking compilation errors
Fix miscellaneous networking compilation errors.
(*) Export ktime_add_ns() for modules.
(*) wext_proc_init() should have an ANSI declaration.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/wext.h')
-rw-r--r-- | include/net/wext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/wext.h b/include/net/wext.h index 55741836a675..c02b8decf3af 100644 --- a/include/net/wext.h +++ b/include/net/wext.h | |||
@@ -10,7 +10,7 @@ extern int wext_proc_init(void); | |||
10 | extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd, | 10 | extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd, |
11 | void __user *arg); | 11 | void __user *arg); |
12 | #else | 12 | #else |
13 | static inline int wext_proc_init() | 13 | static inline int wext_proc_init(void) |
14 | { | 14 | { |
15 | return 0; | 15 | return 0; |
16 | } | 16 | } |