mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
generic, memparse(): constify argument
memparse()'s first argument can be const, so it should be. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
c9272c4f9f
commit
d974ae379a
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ char *get_options(const char *str, int nints, int *ints)
|
|||
* megabyte, or one gigabyte, respectively.
|
||||
*/
|
||||
|
||||
unsigned long long memparse(char *ptr, char **retptr)
|
||||
unsigned long long memparse(const char *ptr, char **retptr)
|
||||
{
|
||||
char *endptr; /* local pointer to end of parsed string */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue