OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e8cda3
)
ndisc: Convert use of typedef ctl_table to struct ctl_table
author
Joe Perches
<joe@perches.com>
Fri, 14 Jun 2013 02:37:54 +0000
(19:37 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 20 Jun 2013 06:18:07 +0000
(23:18 -0700)
This typedef is unnecessary and should just be removed.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ndisc.h
patch
|
blob
|
history
diff --git
a/include/net/ndisc.h
b/include/net/ndisc.h
index
745bf74
..
949d775
100644
(file)
--- a/
include/net/ndisc.h
+++ b/
include/net/ndisc.h
@@
-230,7
+230,7
@@
extern int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl,
void __user *buffer,
size_t *lenp,
loff_t *ppos);
-int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl,
+int ndisc_ifinfo_sysctl_strategy(
struct
ctl_table *ctl,
void __user *oldval, size_t __user *oldlenp,
void __user *newval, size_t newlen);
#endif