aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sysctl.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-16 05:30:16 -0500
committerEric W. Biederman <ebiederm@xmission.com>2009-11-18 10:06:48 -0500
commit60a0a52df149286a25fddf9b2d0cfe77cf0bc516 (patch)
treec169f1a790357fb5ea1ca9780e28af12d31c0ece /include/linux/sysctl.h
parentbb9074ff58fe745e4f244f76209241909c82ec9c (diff)
sysctl: kill dead ctl_handler definitions.
When removing the sysctl strategy routines I overlooked their definitions in sysctl.h. So remove those unnecessary definitions now. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/sysctl.h')
-rw-r--r--include/linux/sysctl.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 4e40442777cf..b4f6adc6a02c 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -972,10 +972,6 @@ extern int sysctl_perm(struct ctl_table_root *root,
972 972
973typedef struct ctl_table ctl_table; 973typedef struct ctl_table ctl_table;
974 974
975typedef int ctl_handler (struct ctl_table *table,
976 void __user *oldval, size_t __user *oldlenp,
977 void __user *newval, size_t newlen);
978
979typedef int proc_handler (struct ctl_table *ctl, int write, 975typedef int proc_handler (struct ctl_table *ctl, int write,
980 void __user *buffer, size_t *lenp, loff_t *ppos); 976 void __user *buffer, size_t *lenp, loff_t *ppos);
981 977
@@ -996,13 +992,6 @@ extern int proc_doulongvec_minmax(struct ctl_table *, int,
996extern int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int, 992extern int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int,
997 void __user *, size_t *, loff_t *); 993 void __user *, size_t *, loff_t *);
998 994
999extern ctl_handler sysctl_data;
1000extern ctl_handler sysctl_string;
1001extern ctl_handler sysctl_intvec;
1002extern ctl_handler sysctl_jiffies;
1003extern ctl_handler sysctl_ms_jiffies;
1004
1005
1006/* 995/*
1007 * Register a set of sysctl names by calling register_sysctl_table 996 * Register a set of sysctl names by calling register_sysctl_table
1008 * with an initialised array of struct ctl_table's. An entry with 997 * with an initialised array of struct ctl_table's. An entry with