History

sysctl: convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.

Joe Perches committed 12 years ago

Commit 6f8fd1d1 parent a5c59282 files · +4 −4Browse files

Showing the changes to kernel/sysctl.c (1 of 2 files). Show all

Unified · Split

kernel/sysctl.c+1−1
@@ -202,7 +202,7 @@ static int proc_dostring_coredump(struct ctl_table *table, int write, · 201 unmodified lines
202/* Note: sysrq code uses it's own private copy */202/* Note: sysrq code uses it's own private copy */
203static int __sysrq_enabled = CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE;203static int __sysrq_enabled = CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE;
204 204
205static int sysrq_sysctl_handler(ctl_table *table, int write,205static int sysrq_sysctl_handler(struct ctl_table *table, int write,
206 void __user *buffer, size_t *lenp,206 void __user *buffer, size_t *lenp,
207 loff_t *ppos)207 loff_t *ppos)
208{208{