|
46 | 46 | * /proc entries (sysctl) |
47 | 47 | */ |
48 | 48 | static const char appldata_proc_name[APPLDATA_PROC_NAME_LENGTH] = "appldata"; |
49 | | -static int appldata_timer_handler(struct ctl_table *ctl, int write, |
| 49 | +static int appldata_timer_handler(const struct ctl_table *ctl, int write, |
50 | 50 | void *buffer, size_t *lenp, loff_t *ppos); |
51 | | -static int appldata_interval_handler(struct ctl_table *ctl, int write, |
| 51 | +static int appldata_interval_handler(const struct ctl_table *ctl, int write, |
52 | 52 | void *buffer, size_t *lenp, loff_t *ppos); |
53 | 53 |
|
54 | 54 | static struct ctl_table_header *appldata_sysctl_header; |
@@ -199,7 +199,7 @@ static void __appldata_vtimer_setup(int cmd) |
199 | 199 | * Start/Stop timer, show status of timer (0 = not active, 1 = active) |
200 | 200 | */ |
201 | 201 | static int |
202 | | -appldata_timer_handler(struct ctl_table *ctl, int write, |
| 202 | +appldata_timer_handler(const struct ctl_table *ctl, int write, |
203 | 203 | void *buffer, size_t *lenp, loff_t *ppos) |
204 | 204 | { |
205 | 205 | int timer_active = appldata_timer_active; |
@@ -232,7 +232,7 @@ appldata_timer_handler(struct ctl_table *ctl, int write, |
232 | 232 | * current timer interval. |
233 | 233 | */ |
234 | 234 | static int |
235 | | -appldata_interval_handler(struct ctl_table *ctl, int write, |
| 235 | +appldata_interval_handler(const struct ctl_table *ctl, int write, |
236 | 236 | void *buffer, size_t *lenp, loff_t *ppos) |
237 | 237 | { |
238 | 238 | int interval = appldata_interval; |
@@ -262,7 +262,7 @@ appldata_interval_handler(struct ctl_table *ctl, int write, |
262 | 262 | * monitoring (0 = not in process, 1 = in process) |
263 | 263 | */ |
264 | 264 | static int |
265 | | -appldata_generic_handler(struct ctl_table *ctl, int write, |
| 265 | +appldata_generic_handler(const struct ctl_table *ctl, int write, |
266 | 266 | void *buffer, size_t *lenp, loff_t *ppos) |
267 | 267 | { |
268 | 268 | struct appldata_ops *ops = NULL, *tmp_ops; |
|
0 commit comments