Commit b8b8fd2dc23725fba77f66b3fef11b11f983fc08

Authored by David Howells
Committed by David S. Miller
1 parent b1bdb691c3

[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>

Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff

... ... @@ -10,7 +10,7 @@
10 10 extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd,
11 11 void __user *arg);
12 12 #else
13   -static inline int wext_proc_init()
  13 +static inline int wext_proc_init(void)
14 14 {
15 15 return 0;
16 16 }
... ... @@ -279,6 +279,8 @@
279 279  
280 280 return ktime_add(kt, tmp);
281 281 }
  282 +
  283 +EXPORT_SYMBOL_GPL(ktime_add_ns);
282 284 # endif /* !CONFIG_KTIME_SCALAR */
283 285  
284 286 /*