Commit b8b8fd2d authored by David Howells's avatar David Howells Committed by David S. Miller
Browse files

[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: default avatarDavid Howells <>
Signed-off-by: default avatarDavid S. Miller <>
parent b1bdb691
......@@ -10,7 +10,7 @@ extern int wext_proc_init(void);
extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd,
void __user *arg);
static inline int wext_proc_init()
static inline int wext_proc_init(void)
return 0;
......@@ -279,6 +279,8 @@ ktime_t ktime_add_ns(const ktime_t kt, u64 nsec)
return ktime_add(kt, tmp);
# endif /* !CONFIG_KTIME_SCALAR */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment