diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-16 23:55:15 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-17 19:03:28 +0100 |
commit | 827c01fadb98e77f692d39d0fb34a1944e43c99b (patch) | |
tree | 46c60239eaddbcfb2f79195989c23b16c3ce55d8 /kern/boot_script.c | |
parent | ece37d66ae394a0d783f3cba8a71d7b61735b0aa (diff) | |
download | gnumach-827c01fadb98e77f692d39d0fb34a1944e43c99b.tar.gz gnumach-827c01fadb98e77f692d39d0fb34a1944e43c99b.tar.bz2 gnumach-827c01fadb98e77f692d39d0fb34a1944e43c99b.zip |
kern: qualify pointers whose dereferenced values are constant with const
Diffstat (limited to 'kern/boot_script.c')
-rw-r--r-- | kern/boot_script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/boot_script.c b/kern/boot_script.c index a6196e05..b245d1d8 100644 --- a/kern/boot_script.c +++ b/kern/boot_script.c @@ -76,14 +76,14 @@ create_task (struct cmd *cmd, long *val) /* Resume a task. */ static int -resume_task (struct cmd *cmd, long *val) +resume_task (struct cmd *cmd, const long *val) { return boot_script_task_resume (cmd); } /* Resume a task when the user hits return. */ static int -prompt_resume_task (struct cmd *cmd, long *val) +prompt_resume_task (struct cmd *cmd, const long *val) { return boot_script_prompt_task_resume (cmd); } |