Skip to contentSkip to conversation

kernel/sysctl.c: misc cleanups

PATCH New Adrian Bunk 1 participant 1 message Jan 31, 2005 Proc sysctl

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/sysctl.c: misc cleanups

This patch makes some needlessly global code static and removes the unneeded EXPORT_SYMBOL(proc_doulonglongvec_minmax).

---

 include/linux/sysctl.h |    7 --
 kernel/sysctl.c        |   96 ++++++++++++++++++++---------------------
 2 files changed, 49 insertions(+), 54 deletions(-)

This patch was already sent on:
- 12 Dec 2004

include/linux/sysctl.h renamed from include/linux/sysctl.h.old +0 -7
@@ -787,8 +787,6 @@
 			 void __user *, size_t *, loff_t *);
 extern int proc_dointvec(ctl_table *, int, struct file *,
 			 void __user *, size_t *, loff_t *);
-extern int proc_dointvec_bset(ctl_table *, int, struct file *,
-			      void __user *, size_t *, loff_t *);
 extern int proc_dointvec_minmax(ctl_table *, int, struct file *,
 				void __user *, size_t *, loff_t *);
 extern int proc_dointvec_jiffies(ctl_table *, int, struct file *,
@@ -806,11 +804,6 @@
 		      void __user *oldval, size_t __user *oldlenp,
 		      void __user *newval, size_t newlen);
 
-extern int do_sysctl_strategy (ctl_table *table, 
-			       int __user *name, int nlen,
-			       void __user *oldval, size_t __user *oldlenp,
-			       void __user *newval, size_t newlen, void ** context);
-
 extern ctl_handler sysctl_string;
 extern ctl_handler sysctl_intvec;
 extern ctl_handler sysctl_jiffies;
kernel/sysctl.c renamed from kernel/sysctl.c.old +49 -47

128 lines not on this page · raw message